*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --black: #050505;
  --ink: #161616;
  --muted: #626262;
  --line: #d9d9d9;
  --wash: #f6f6f4;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  background: rgba(246, 246, 244, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand img {
  width: 116px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(40px, 7vw, 90px);
  overflow: hidden;
  background: #fbfbfa;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% -12% auto auto;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  opacity: 0.55;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto 9% 5%;
  width: min(28vw, 360px);
  height: 1px;
  background: rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.hero-copy {
  width: min(100%, 1160px);
  max-width: 1160px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--black);
  font-size: clamp(3.2rem, 7vw, 7.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.animated-wordmark {
  width: 100%;
  min-height: 0.98em;
  display: flex;
  align-items: flex-end;
  gap: clamp(5px, 0.8vw, 12px);
  margin-bottom: clamp(18px, 2.6vw, 28px);
  color: var(--black);
  font-size: clamp(3.8rem, 7.8vw, 9.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark-logo-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.wordmark-logo {
  width: clamp(132px, 18.4vw, 278px);
  height: auto;
  transform: translateY(0.015em);
}

.wordmark-dynamic-wrap {
  width: min(7.25em, calc(100vw - 96px));
  display: inline-grid;
  position: relative;
  padding-bottom: 0;
  transform: translateY(-0.205em);
}

.wordmark-dynamic {
  display: inline-block;
  font-family: "Arial Rounded MT Bold", "Avenir Next", Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  will-change: opacity, transform;
  transition: color 220ms ease, opacity 260ms ease, transform 260ms ease;
}

.wordmark-dynamic.is-leaving {
  opacity: 0;
  transform: translate3d(0, -0.08em, 0);
}

.wordmark-dynamic.is-entering {
  animation: wordIn 360ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.wordmark-underline {
  position: absolute;
  left: 0.05em;
  bottom: -0.12em;
  width: min(2.55em, 74%);
  height: 0.04em;
  border-radius: 999px;
  opacity: 0.86;
  transform-origin: left;
  transition: background 220ms ease, opacity 260ms ease, transform 260ms ease;
}

.wordmark-underline.is-leaving {
  opacity: 0;
  transform: scaleX(0.58);
}

.wordmark-underline.is-entering {
  animation: underlineIn 420ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.wordmark-dynamic-wrap.is-final .wordmark-underline {
  width: 1.92em;
  opacity: 0.35;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--black);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button-light {
  color: var(--black);
  background: rgba(255, 255, 255, 0.42);
}

@keyframes wordIn {
  from {
    opacity: 0;
    transform: translate3d(0, 0.1em, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes underlineIn {
  from {
    opacity: 0;
    transform: scaleX(0.7);
  }
  to {
    opacity: 0.72;
    transform: scaleX(1);
  }
}

.showcase,
.features {
  padding: clamp(58px, 9vw, 122px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4.8vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

@media (min-width: 901px) {
  .showcase .section-heading {
    max-width: 920px;
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 110px);
}

.phone-card {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 34px 28px 30px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.phone-card:has(.superman-avatar) {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 10, 0.16), transparent 30%),
    linear-gradient(145deg, #07142f 0%, #030713 58%, #120408 100%);
  box-shadow: 0 30px 80px rgba(3, 7, 19, 0.34), inset 0 1px 0 rgba(255,255,255,0.16);
}

.avatar {
  width: 124px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 32%, #f1f1f1 0 18%, #111 19% 21%, transparent 22%),
    linear-gradient(135deg, #252525, #f1f1f1);
}

.superman-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 214, 10, 0.75);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.superman-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rule {
  width: 68%;
  height: 1px;
  background: rgba(0, 0, 0, 0.48);
}

.phone-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.phone-card:has(.superman-avatar) h3,
.phone-card:has(.superman-avatar) .role,
.phone-card:has(.superman-avatar) .contact-stack {
  color: #ffffff;
}

.phone-card:has(.superman-avatar) .rule {
  background: rgba(255, 214, 10, 0.72);
}

.role {
  margin: -2px 0 4px;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.14em;
}

.contact-stack {
  width: 100%;
  max-width: 280px;
  display: grid;
  gap: 8px;
  color: #272727;
  font-size: 0.92rem;
}

.contact-stack span {
  padding-left: 26px;
  position: relative;
}

.contact-stack span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--black);
}

.phone-card:has(.superman-avatar) .contact-stack span::before {
  background: #e50922;
  box-shadow: inset 0 0 0 3px #ffd60a;
}

.service-line {
  margin: 8px 0 0;
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
}

.save-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-card:has(.superman-avatar) .save-button {
  color: #07142f;
  border-color: #ffd60a;
  background: #ffd60a;
}

.phone-card:has(.superman-avatar) .sample-logo {
  filter: invert(1);
}

.sample-logo {
  width: 136px;
  margin-top: 4px;
}

.showcase-copy {
  max-width: 660px;
}

.showcase-copy h3 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(1.8rem, 3.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.showcase-copy p,
.showcase-copy li,
.feature-grid p,
.closing p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.showcase-copy ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.showcase-copy li {
  padding-left: 24px;
  position: relative;
}

.showcase-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 1px;
  background: var(--black);
}

.features {
  background: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.feature-grid article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 42px);
  color: var(--white);
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.feature-grid h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1;
}

.feature-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.closing {
  min-height: 72vh;
  display: grid;
  place-items: center;
  justify-items: center;
  padding: clamp(64px, 10vw, 130px) 20px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.92), rgba(0,0,0,0.78)),
    var(--black);
}

.closing img {
  width: min(58vw, 420px);
  margin-bottom: 34px;
}

.closing h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.closing p {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.closing-actions {
  display: grid;
  gap: 12px;
  width: min(100%, 210px);
}

.closing-actions .button {
  width: 100%;
}

.button-light-on-dark {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.demo-page {
  background: #ffffff;
}

.demo-header {
  background: rgba(255, 255, 255, 0.86);
}

.demo-hero {
  padding: clamp(58px, 9vw, 124px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 72px);
  background: #ffffff;
}

.demo-hero h1 {
  max-width: 1080px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6.6vw, 7.5rem);
  line-height: 0.95;
}

.demo-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.32rem);
  line-height: 1.58;
}

.demo-hero .demo-live-link {
  margin-top: 12px;
}

.demo-live-link a {
  color: var(--black);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.demo-gallery {
  display: grid;
  gap: clamp(44px, 7vw, 96px);
  padding: 0 clamp(20px, 5vw, 72px) clamp(68px, 10vw, 132px);
}

.demo-shot {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding-top: clamp(42px, 6vw, 78px);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.demo-shot-copy {
  max-width: 470px;
}

.demo-shot h2 {
  margin-bottom: 16px;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
}

.demo-shot-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.64;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f5f2;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.13);
}

.phone-frame {
  width: min(100%, 420px);
  justify-self: center;
  border-radius: 34px;
  padding: 12px;
  background: #0b0b0b;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.desktop-frame {
  min-height: clamp(300px, 37vw, 560px);
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame {
  width: min(100%, 560px);
  justify-self: center;
  border-radius: 12px;
  background: #ffffff;
}

.portrait-frame img {
  height: auto;
  object-fit: contain;
}

@media (min-width: 901px) {
  .portrait-frame {
    width: min(100%, 420px);
  }
}

.placeholder-frame {
  color: var(--black);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 245, 242, 0.96)),
    #f5f5f2;
}

.placeholder-frame div {
  display: grid;
  gap: 10px;
  padding: 28px;
  text-align: center;
}

.placeholder-frame span {
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.placeholder-frame p {
  margin: 0;
  color: var(--muted);
}

.dark-placeholder {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.92)),
    var(--black);
}

.dark-placeholder span {
  color: var(--white);
}

.dark-placeholder p {
  color: rgba(255, 255, 255, 0.64);
}

.search-placeholder {
  background:
    linear-gradient(180deg, #ffffff 0 62px, #f6f6f4 62px 100%),
    #f6f6f4;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .hero,
  .showcase-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 9% -38% auto auto;
    width: 84vw;
  }

  .feature-grid article {
    min-height: 220px;
  }

  .demo-shot {
    grid-template-columns: 1fr;
  }

  .demo-shot-copy {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.72rem;
  }


  .hero {
    gap: 28px;
    padding-top: 54px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(2.55rem, 14.5vw, 4rem);
  }

  #showcase-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
    line-height: 1.02;
    white-space: nowrap;
  }

  .animated-wordmark {
    gap: 5px;
    font-size: clamp(2.18rem, 9.7vw, 3rem);
  }

  .wordmark-logo {
    width: clamp(96px, 26vw, 124px);
  }

  .wordmark-dynamic-wrap {
    width: min(7.25em, calc(100vw - 124px));
  }

  .hero-kicker {
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-text {
    max-width: 34rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .demo-hero {
    padding-top: 46px;
  }

  .demo-shot {
    gap: 22px;
  }

  .phone-frame {
    width: min(100%, 360px);
    border-radius: 26px;
    padding: 9px;
  }

  .phone-frame img {
    border-radius: 19px;
  }
}

@media (max-width: 420px) {
  .animated-wordmark {
    font-size: clamp(2rem, 9.3vw, 2.55rem);
  }

  .wordmark-logo {
    width: clamp(86px, 25vw, 104px);
  }

  .wordmark-dynamic-wrap {
    width: min(7.25em, calc(100vw - 106px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
