:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe5f0;
  --accent: #0ea5e9;
  --shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% -12%, #dff4ff 0%, transparent 34%), var(--bg);
}

img,
figure {
  display: block;
  max-width: 100%;
  margin: 0;
}

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 30;
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: #bae6fd;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-text {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
}

.site-nav {
  display: inline-flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--ink);
  color: #ffffff;
  padding: 0.72rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
}

.btn-ghost {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

main {
  padding: 1rem 0;
}

.hero,
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(1.3rem, 4vw, 2.8rem);
  border-right: 1px solid var(--line);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.3rem;
}

.hero-stack {
  --stack-phone-w: 214px;
  width: min(460px, 100%);
  min-height: 560px;
}

.hero-render {
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(416px, 80%);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-render img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.01);
  mix-blend-mode: darken;
  filter: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.05rem, 5vw, 4rem);
  margin: 0.5rem 0 0.9rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.55rem);
  margin: 0.5rem 0 0.85rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

p,
li {
  color: #334155;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.subtle {
  margin-top: 0.85rem;
  color: #64748b;
  font-size: 0.9rem;
}

.cta-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.card {
  margin-top: 1rem;
  padding: clamp(1.1rem, 3vw, 2rem);
}

.simple-page-wrap {
  max-width: 860px;
  margin-inline: auto;
}

.simple-page-wrap h2 {
  margin-top: 1.2rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.faq-box {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 1rem;
}

.contact-line {
  font-size: 1.05rem;
  margin-top: 0.3rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.value {
  font-weight: 800;
}

.solution-graphic {
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.solution-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.feature {
  margin-top: 1rem;
}

#features {
  margin-top: 1rem;
}

.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-half {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.feature-half .stack-p7 {
  justify-self: center;
}

.stack-p7 {
  --stack-phone-w: 224px;
  --stack-overlap-x: calc(var(--stack-phone-w) * 0.1);
  --stack-block-center-offset: calc((var(--stack-overlap-x) / 2) + (var(--stack-phone-w) / 4));
  position: relative;
  width: min(500px, 100%);
  min-height: 600px;
  margin-inline: auto;
  transform: translateX(calc(var(--stack-block-center-offset) * -1));
}

.stack-p7 .iphone-frame {
  position: absolute;
  width: var(--stack-phone-w);
}

.stack-p7 .stack-front {
  left: 50%;
  top: 78px;
  transform: translateX(-50%);
  z-index: 3;
}

.stack-p7 .stack-back {
  left: calc(50% + var(--stack-overlap-x));
  top: 0;
  z-index: 2;
}

.mockup-grid {
  display: grid;
  gap: 0.55rem;
  justify-content: center;
  align-items: end;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, auto));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, auto));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, auto));
}

.compact .iphone-frame {
  width: 208px;
}

.compact-widgets .iphone-frame {
  width: 182px;
}

.ux-highlights {
  display: grid;
  gap: 0.75rem;
}

.ux-subsection {
  display: grid;
  gap: 0.7rem;
}

.ux-subsection-lower {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe5f0;
}

.ux-copy h3 {
  margin: 0;
}

.ux-copy p {
  margin: 0.45rem 0 0;
  max-width: 40ch;
}

.ux-language-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 2fr);
  align-items: center;
  justify-items: center;
  gap: 0.75rem;
}

.ux-language-phone {
  width: min(182px, 100%);
}

.ux-language-card {
  margin: 0;
  width: min(424px, 100%);
  background: transparent;
  align-self: center;
}

.ux-language-card img {
  display: block;
  width: 100%;
  height: auto;
}

.ux-widget-grid {
  width: 100%;
  justify-content: space-evenly;
}

.ux-subsection-lower .ux-widget-grid .iphone-frame {
  width: 182px;
}

.playability-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
}

.playability-copy {
  text-align: left;
  max-width: 56ch;
}

.playability-lead {
  margin: 0.55rem 0 0;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.playability-points {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.playability-points li {
  margin: 0;
  padding: 0.62rem 0.78rem;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  background: #f8fafc;
  line-height: 1.45;
  color: #334155;
}

.playability-points strong {
  color: #0f172a;
}

.playability-stage {
  width: 100%;
  min-height: auto;
  margin-inline: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: clamp(0.3rem, 1.4vw, 0.9rem);
}

.playability-phone {
  position: static;
}

.playability-stack {
  --stack-phone-w: 198px;
  width: min(420px, 100%);
  min-height: 510px;
  margin-inline: auto;
}

.orb {
  position: absolute;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 2px rgba(15, 23, 42, 0.1),
    0 10px 26px rgba(15, 23, 42, 0.24);
  z-index: 4;
}

.orb img {
  width: 160%;
  height: 160%;
  object-fit: cover;
}

.orb-weather {
  right: calc(14% + 170px);
  top: 174px;
}

.orb-weather img {
  transform: translate(-45%, -29%);
}

.orb-toggle {
  right: 0;
  top: 64px;
}

.orb-toggle img {
  transform: translate(-49%, -15%);
}

.iphone-frame {
  position: relative;
  width: 224px;
  margin: 0;
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 58%, #e2e8f0 100%);
  border: 1px solid #dbe4ee;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.11);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 94px;
  width: 3px;
  height: 34px;
  border-radius: 3px 0 0 3px;
  background: #cbd5e1;
  box-shadow: 0 44px 0 #cbd5e1;
}

.iphone-frame::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 132px;
  width: 3px;
  height: 56px;
  border-radius: 0 3px 3px 0;
  background: #cbd5e1;
}

.notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 17px;
  border-radius: 999px;
  background: #000000;
  z-index: 2;
}

.notch::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e293b;
}

.iphone-frame img {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  border-radius: 32px;
  border: 6px solid #0f172a;
  background: #0f172a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.2rem;
  list-style-position: inside;
  padding-left: 0;
}

.howit-diagram {
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}

.howit-diagram img {
  display: block;
  width: 100%;
  height: auto;
}

.centered {
  text-align: center;
}

.site-footer {
  margin: 1rem auto 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: #64748b;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", "Manrope", sans-serif;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .feature-pair {
    gap: 0.8rem;
  }

  .stack-p7 {
    --stack-phone-w: 202px;
    width: min(460px, 100%);
    min-height: 550px;
  }

  .hero-stack {
    --stack-phone-w: 196px;
    width: min(430px, 100%);
    min-height: 520px;
  }

  .hero-render {
    width: min(376px, 80%);
  }

  .iphone-frame {
    width: 202px;
  }

  .compact .iphone-frame {
    width: 188px;
  }

  .compact-widgets .iphone-frame {
    width: 166px;
  }

  .playability-stage {
    min-height: auto;
  }

  .playability-stack {
    --stack-phone-w: 182px;
    width: min(390px, 100%);
    min-height: 470px;
  }

  .orb {
    width: 166px;
    height: 166px;
  }

  .orb-weather {
    right: calc(10% + 150px);
    top: 160px;
  }
}

@media (max-width: 920px) {
  .feature-pair {
    grid-template-columns: 1fr;
  }

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

  .playability-feature {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .solution-graphic {
    border-radius: 12px;
  }

  .ux-copy {
    text-align: left;
  }

  .ux-subsection-lower .ux-widget-grid .iphone-frame {
    width: 166px;
  }

  .ux-language-phone {
    width: min(166px, 100%);
  }
}

@media (max-width: 760px) {
  .stack-p7 {
    --stack-phone-w: 188px;
    width: min(420px, 100%);
    min-height: 510px;
  }

  .hero-stack {
    --stack-phone-w: 184px;
    width: min(400px, 100%);
    min-height: 490px;
  }

  .hero-render {
    width: min(336px, 80%);
  }

  .stack-p7 {
    min-height: 510px;
  }

  .stack-p7 .stack-front {
    top: 72px;
  }

  .playability-stage {
    min-height: auto;
  }

  .playability-stack {
    --stack-phone-w: 170px;
    width: min(360px, 100%);
    min-height: 430px;
  }

  .orb {
    width: 142px;
    height: 142px;
  }

  .orb-weather {
    right: calc(4% + 124px);
    top: 146px;
  }

  .orb-toggle {
    right: -2px;
    top: 86px;
  }

  .mockup-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, auto));
  }

  .mockup-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, auto));
  }

  .ux-widget-grid.mockup-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem 0.55rem;
  }

  .ux-subsection-lower .ux-widget-grid .iphone-frame {
    width: calc(50% - 0.275rem);
    max-width: 166px;
  }

  .ux-language-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
  }

  .ux-subsection-upper .ux-language-row .ux-language-phone {
    width: calc(50% - 0.275rem);
    max-width: 166px;
  }

  .ux-language-card {
    width: min(424px, 100%);
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(1160px, calc(100% - 1rem));
  }

  .site-nav {
    gap: 0.6rem;
  }

  .site-nav a {
    letter-spacing: 0.08em;
  }

  .iphone-frame,
  .compact .iphone-frame,
  .compact-widgets .iphone-frame {
    width: min(188px, 44vw);
  }

  .stack-p7 {
    --stack-phone-w: min(188px, 44vw);
    width: min(390px, 100%);
    min-height: 480px;
  }

  .hero-stack {
    --stack-phone-w: min(184px, 43vw);
    width: min(370px, 100%);
    min-height: 460px;
  }

  .hero-render {
    width: min(288px, 80%);
    border-radius: 20px;
  }

  .ux-language-row {
    gap: 0.4rem;
  }

  .ux-subsection-lower .ux-widget-grid .iphone-frame {
    width: calc(50% - 0.275rem);
    max-width: 166px;
  }

  .ux-subsection-upper .ux-language-row .ux-language-phone {
    width: calc(50% - 0.2rem);
    max-width: 166px;
  }

  .stack-p7 .stack-front {
    top: 68px;
  }

  .playability-stage {
    min-height: auto;
  }

  .playability-stack {
    --stack-phone-w: min(168px, 42vw);
    width: min(340px, 100%);
    min-height: 410px;
  }

  .orb {
    width: 124px;
    height: 124px;
  }

  .orb-weather {
    right: calc(4% + 100px);
    top: 140px;
  }

  .orb-toggle {
    right: -4px;
    top: 88px;
  }
}
