:root {
  --bg: #F7F7F7;
  --bg-soft: #EEEEEE;
  --surface: #F7F7F7;
  --surface-soft: #F7F3EA;
  --text: #161412;
  --text-soft: #6A645A;
  --text-faint: #9A9286;
  --border: #DDD6C8;
  --accent: var(--text);
  --accent-soft: #EDE6D8;
  --icon-badge: #EDE6D8;
  --panel-bg: #0B0B0C;
  --panel-text: #F6F1E8;
  --panel-text-soft: #A39B90;
  --danger: #B42318;
  --focus: #161412;
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-ui: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;
  --shadow: 0 24px 64px rgba(22, 20, 18, 0.14);
}

html.dark {
  --bg: #0B0B0C;
  --bg-soft: #181818;
  --surface: #1A1A1A;
  --surface-soft: #1F1F1F;
  --text: #F6F1E8;
  --text-soft: #A39B90;
  --text-faint: #6E6860;
  --border: #2C2C2C;
  --accent-soft: #181818;
  --icon-badge: #181818;
  --panel-bg: #1C1C1C;
  --panel-text: #F6F1E8;
  --panel-text-soft: #A39B90;
  --focus: #F6F1E8;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

::selection { background: var(--text); color: var(--bg); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  transition: background 0.45s ease, color 0.45s ease;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, .display, .logo, .footer-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  font-optical-sizing: auto;
}
h1, h2 { text-wrap: balance; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.btn,
.logo,
.skip-link { text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.wrap-wide { max-width: 1340px; margin: 0 auto; padding: 0 40px; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  backdrop-filter: blur(10px);
}
.pill-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text); }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-soft);
  margin-bottom: 12px;
}

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.45s ease;
}
header.scrolled { border-bottom: 1px solid var(--border); }

nav {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: grid;
  align-items: center;
  justify-items: start;
  font-size: 26px;
  font-weight: 560;
  color: var(--text);
  transition: opacity 0.25s ease;
}
.logo:hover { opacity: 0.72; }
.mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  grid-area: 1 / 1;
  display: block;
}
.logo .mark-light,
html.dark .logo .mark-dark { visibility: visible; opacity: 1; }
.logo .mark-dark,
html.dark .logo .mark-light { visibility: hidden; opacity: 0; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
}
.nav-links a { position: relative; padding-bottom: 2px; transition: color 0.2s ease; }
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle,
.menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  color: var(--text);
  font: inherit;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.theme-toggle:hover,
.menu-toggle:hover { background: var(--surface); transform: none; }
.theme-toggle svg,
.menu-toggle svg { width: 17px; height: 17px; }
.theme-toggle .sun { display: none; }
html.dark .theme-toggle .sun { display: block; }
html.dark .theme-toggle .moon { display: none; }

html.theme-animating,
html.theme-animating * { transition: none !important; }

.theme-ripple {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  overflow: hidden;
}
.theme-ripple i {
  position: absolute;
  left: var(--rx);
  top: var(--ry);
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, #fff 42%, transparent);
  background:
    radial-gradient(circle at 32% 28%, color-mix(in srgb, #fff 28%, transparent), transparent 52%),
    color-mix(in srgb, var(--bg) 24%, transparent);
  backdrop-filter: blur(20px) saturate(1.45);
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent),
    inset 0 -10px 24px color-mix(in srgb, var(--text) 10%, transparent);
  animation: theme-glass-ring 0.84s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.theme-ripple i:nth-child(2) { animation-delay: 0.06s; }
.theme-ripple i:nth-child(3) { animation-delay: 0.12s; }

@keyframes theme-glass-ring {
  from { transform: scale(0.35); opacity: 0.9; }
  to { transform: scale(70); opacity: 0; }
}

::view-transition-old(root) {
  animation: none;
  z-index: 1;
  mix-blend-mode: normal;
}
::view-transition-new(root) {
  z-index: 2;
  mix-blend-mode: normal;
  animation: theme-circle-in 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes theme-circle-in {
  from {
    clip-path: circle(0px at var(--theme-x) var(--theme-y));
    filter: blur(18px) saturate(1.3);
  }
  50% { filter: blur(7px) saturate(1.15); }
  to {
    clip-path: circle(var(--theme-r) at var(--theme-x) var(--theme-y));
    filter: none;
  }
}

.menu-toggle { display: none; }
.menu-toggle .close { display: none; }
.menu-toggle.is-open .open { display: none; }
.menu-toggle.is-open .close { display: block; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px 40px 48px;
  overflow: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.btn:hover { transform: none; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { opacity: 0.88; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-row.left { justify-content: flex-start; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

a[href^="https://"]:not([href*="xult.com"])::after,
a[href^="http://"]:not([href*="xult.com"])::after {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.32em;
  vertical-align: -0.06em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5'/%3E%3Cpath d='M20 4 11 13'/%3E%3Cpath d='M18 13.5V18a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5'/%3E%3Cpath d='M20 4 11 13'/%3E%3Cpath d='M18 13.5V18a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn[href^="https://"]:not([href*="xult.com"])::after,
.btn[href^="http://"]:not([href*="xult.com"])::after {
  width: 14px;
  height: 14px;
  margin-left: 0;
}
.footer-col a[href^="https://"]:not([href*="xult.com"]),
.footer-col a[href^="http://"]:not([href*="xult.com"]) {
  display: inline-flex;
  align-items: center;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
  background: var(--bg);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy { max-width: 560px; }
.hero-copy .pill-badge { margin-bottom: 22px; }
.hero-copy h1 {
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.08;
  margin-bottom: 20px;
  font-variation-settings: "opsz" 72;
}
.hero-copy h1 em,
.hero-copy h1 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--text-soft);
}
.hero-copy > p {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 460px;
}

.glow { display: none; }

.hero-product {
  --hero-art-bg: #F6F5F3;
  padding-bottom: 0;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--hero-art-bg);
}
html.dark .hero-product {
  --hero-art-bg: #000000;
}
.hero-product-split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.15fr);
  grid-template-areas:
    "crumbs art"
    "copy art";
  column-gap: 36px;
  row-gap: 0;
  align-items: start;
}
.hero-product .crumbs { grid-area: crumbs; }
.hero-product .hero-copy {
  grid-area: copy;
  max-width: none;
  padding-bottom: 0;
}
.app-icon-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.app-icon {
  width: 56px;
  height: 56px;
  max-width: none;
  flex-shrink: 0;
  border-radius: 13px;
  display: none;
}
.app-icon-light { display: block; }
.app-icon-dark { display: none; }
html.dark .app-icon-light { display: none; }
html.dark .app-icon-dark { display: block; }
.hero-art {
  grid-area: art;
  margin: 0;
  width: 100%;
  display: grid;
  line-height: 0;
  background: var(--hero-art-bg);
}
.hero-art img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
  pointer-events: none;
  background: var(--hero-art-bg);
}

@media (min-width: 1101px) {
  .hero.hero-product {
    padding-bottom: 0;
  }
  .hero-product-split {
    max-width: none;
    width: 100%;
    padding-right: 0;
    padding-left: max(40px, calc((100% - 1220px) / 2 + 40px));
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    grid-template-areas:
      "crumbs ."
      "copy art";
    column-gap: 28px;
  }
  .hero-product .hero-copy {
    padding-bottom: 56px;
  }
  .hero-art {
    align-self: end;
    width: 110%;
    overflow: visible;
  }
  .hero-art img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    margin-top: 0;
  }
}
.hero-art-light { visibility: visible; opacity: 1; }
.hero-art-dark { visibility: hidden; opacity: 0; }
html.dark .hero-art-light { visibility: hidden; opacity: 0; }
html.dark .hero-art-dark { visibility: visible; opacity: 1; }

.page-hero {
  padding: 88px 0 48px;
  text-align: left;
}
.page-hero.center { text-align: center; }
.page-hero h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.1;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 72;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 640px;
}
.page-hero-wide p { max-width: none; }
.page-hero.center p { margin: 0 auto; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--text); }

/* ---------- IPHONE ---------- */
.iphone {
  width: 262px;
  position: relative;
}
.iphone-bezel {
  position: relative;
  background: #111113;
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}
.iphone-bezel::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 96px;
  width: 3px;
  height: 28px;
  border-radius: 2px 0 0 2px;
  background: #2c2c2e;
}
.iphone-bezel::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 136px;
  width: 3px;
  height: 52px;
  border-radius: 2px 0 0 2px;
  background: #2c2c2e;
}
.iphone-bezel img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
  display: block;
  background: #111;
}
.iphone-bezel .ios-home {
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 10px;
  box-sizing: border-box;
}
.ios-home-light {
  background:
    radial-gradient(120% 80% at 50% 0%, #fff 0%, #F3EFE6 42%, #E4DFD4 100%);
  color: #2A2620;
}
.ios-home-dark {
  background:
    radial-gradient(120% 80% at 50% 0%, #2A2A2C 0%, #141416 48%, #0B0B0C 100%);
  color: #F4F0E8;
}
.ios-status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 4px 6px 16px;
}
.ios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 10px;
  flex: 1;
  align-content: start;
}
.ios-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.ios-app img,
.ios-app i,
.ios-dock i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: block;
}
.ios-app img { object-fit: cover; aspect-ratio: auto; }
.ios-home-light .ios-app i { background: color-mix(in srgb, #8A8478 28%, #F4F0E8); }
.ios-home-dark .ios-app i { background: #2C2C2E; }
.ios-app span {
  font-size: 8px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  min-height: 1.15em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.ios-home-light .ios-app span { color: #3A352C; }
.ios-home-dark .ios-app span { color: #EDE8DE; }
.ios-dock {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: auto 0 2px;
  padding: 10px 12px 8px;
  border-radius: 18px;
  background: color-mix(in srgb, #fff 42%, transparent);
}
.ios-home-dark .ios-dock { background: color-mix(in srgb, #fff 10%, transparent); }
.ios-home-light .ios-dock i { background: color-mix(in srgb, #8A8478 22%, #fff); }
.ios-home-dark .ios-dock i { background: #3A3A3C; }
.icon-showcase { background: var(--bg); }

.device-stage {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-stage .iphone-front {
  position: relative;
  z-index: 2;
  transform: rotate(4deg) translateY(8px);
}
.device-stage .iphone-back {
  position: absolute;
  z-index: 1;
  transform: rotate(-6deg) translate(-108px, 24px);
  width: 232px;
}
.device-stage .iphone-back .iphone-bezel { padding: 10px; }

.iphone-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.iphone-card {
  text-align: center;
}
.iphone-card figcaption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 400;
}
.iphone-card .iphone { margin: 0 auto; }

.showcase {
  background: var(--bg-soft);
  padding: 96px 0 108px;
  color: var(--text);
}
.showcase .section-head h2 { color: var(--text); }
.showcase .section-head p { color: var(--text-soft); }
.showcase .eyebrow { color: var(--text-soft); }

.shot-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.shot-row.reverse { grid-template-columns: 0.95fr 1.05fr; }
.shot-row.reverse .shot-copy { order: 2; }
.shot-row.reverse .shot-device { order: 1; }
.shot-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 16px;
}
.shot-copy p {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.shot-device { display: flex; justify-content: center; }

/* ---------- SECTION SHARED ---------- */
section { padding: 104px 0; position: relative; }
.section-head { text-align: left; max-width: 580px; margin: 0 0 56px; }
.support-faq .section-head { margin-bottom: 20px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 12px; }
.section-head p { color: var(--text-soft); font-size: 17px; line-height: 1.65; }

/* ---------- FEATURE LIST ---------- */
.feature-list { border-top: 1px solid var(--border); }
.feature-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  column-gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row .feature-icon-wrap { display: none; }
.feature-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  font-style: italic;
  color: var(--text-faint);
}
.feature-icon-wrap,
.build-icon-wrap,
.stat-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--icon-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.feature-row:hover .feature-icon-wrap { background: var(--icon-badge); }
.feature-icon,
.build-icon,
.inline-icon {
  width: 24px; height: 24px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
.feature-copy h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--text); margin-bottom: 6px; }
.feature-copy { min-width: 0; }
.feature-copy p { color: var(--text-soft); font-size: 15px; line-height: 1.6; max-width: 42em; }
.feature-copy a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.approach { background: var(--bg-soft); }
.studio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.studio-intro h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  margin: 0;
}
.studio-intro > p {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 38em;
}

/* ---------- MISSION PANEL ---------- */
.panel-section { padding: 0 0 110px; }
.panel {
  background: var(--panel-bg);
  border-radius: 20px;
  padding: 72px 56px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.panel h2 { color: var(--panel-text); font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; position: relative; }
.panel p { color: var(--panel-text-soft); font-size: 17px; max-width: none; margin: 0 0 28px; line-height: 1.65; position: relative; }
.panel .btn-primary { background: var(--panel-text); color: var(--panel-bg); position: relative; }

/* ---------- CARDS ---------- */
.build-grid,
.card-grid,
.split-grid,
.feat-grid {
  display: grid;
  gap: 20px;
}
.build-grid,
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feat-grid { grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.card-grid.two,
.split-grid { grid-template-columns: 1fr 1fr; }
.support-split {
  align-items: start;
  gap: 48px 56px;
}
.support-split .form { max-width: none; }

.build-card,
.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  text-align: left;
}
.feat-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 28px 0 32px;
  text-align: left;
}
.build-icon-wrap { margin-bottom: 22px; }
.build-card h3,
.surface-card h2,
.surface-card h3,
.feat-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 10px;
}
.build-card p,
.surface-card p,
.feat-card p { color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.feat-card a,
.hint a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feat-card .kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-faint);
  font-weight: 400;
  margin-bottom: 10px;
}

/* ---------- FEATURED APP ---------- */
.featured-app {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}
.featured-app .iphone { margin: 0 auto; }
.featured-app-copy {
  grid-template-columns: 1fr;
}
.coming-next { margin-top: 20px; }
.featured-copy .pill-badge { margin-bottom: 18px; }
.featured-copy .eyebrow { margin-bottom: 12px; }
.featured-copy h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 14px;
}
.featured-title {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 14px;
}
.featured-title .app-icon-pair {
  margin-bottom: 0;
  flex-shrink: 0;
}
.featured-title .app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
}
.featured-title > div { min-width: 0; }
.featured-title .eyebrow { margin-bottom: 4px; }
.featured-title h2 { margin-bottom: 0; }
.home-claims {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 0;
}
.home-claims li {
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}
.home-claims strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.018em;
  color: var(--text);
  margin-bottom: 4px;
}
.featured-copy > p {
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 6px;
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
}

/* ---------- PROSE / LEGAL ---------- */
.prose { padding: 20px 0 100px; }
.prose h2 { font-size: 28px; margin: 42px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p,
.prose li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.prose ul,
.prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-size: 14px; color: var(--text-faint); margin-bottom: 28px; }

/* ---------- FORMS ---------- */
.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.form-fields { display: grid; gap: 18px; }
.form.is-sent .form-fields { display: none; }
.form-success {
  display: none;
}
.form.is-sent .form-success {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 280px;
  outline: none;
}
.form-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #E8F6EE;
  background: #2F7A4A;
  margin-bottom: 4px;
}
.form-success-icon svg { width: 22px; height: 22px; }
html.dark .form-success-icon {
  color: #0B0B0C;
  background: #5AA872;
}
.form-success h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  margin: 0;
}
.form-success p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 34em;
}
.form-success .btn { margin-top: 10px; justify-self: start; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; }
.field .hint,
.hint { font-size: 13px; color: var(--text-faint); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 13px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161412' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}
html.dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F1E8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  background: var(--accent-soft);
  border: 1px solid var(--border);
}
.form-status.error {
  display: block;
  background: color-mix(in srgb, var(--danger) 10%, var(--surface));
  color: var(--danger);
}
.contact-aside { display: grid; gap: 16px; }
.contact-aside a.email-link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; }
.faq details {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 22px;
  color: var(--text-faint);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 12px;
}

/* ---------- FOOTER ---------- */
.footer-seam { position: relative; height: 90px; background: var(--bg); overflow: visible; }
.seam-mark { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); width: 88px; height: 88px; }
.seam-mark .half { position: absolute; inset: 0; }
.seam-mark .half svg { width: 100%; height: 100%; display: block; }
.seam-mark .top-half { clip-path: inset(0 0 50% 0); }
.seam-mark .bottom-half { clip-path: inset(50% 0 0 0); }
.seam-mark .top-half path { stroke: var(--text); }
.seam-mark .top-half circle { fill: var(--text); }
.seam-mark .bottom-half path { stroke: var(--panel-text); }
.seam-mark .bottom-half circle { fill: var(--panel-text); }

footer { background: var(--panel-bg); padding: 90px 0 40px; color: var(--panel-text-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-wordmark {
  display: grid;
  align-items: center;
  justify-items: start;
  margin-bottom: 16px;
}
.footer-wordmark .mark { width: 36px; height: 36px; grid-area: 1 / 1; }
.footer-wordmark .mark-dark { visibility: visible; opacity: 1; }
.footer-wordmark .mark-light { visibility: hidden; opacity: 0; }
.footer-tagline { color: var(--panel-text-soft); font-size: 14.5px; max-width: 280px; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--panel-text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  width: fit-content;
  color: var(--panel-text-soft);
  font-size: 14.5px;
  padding: 5px 0;
}
.footer-col a:hover { color: var(--panel-text); }
.footer-copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-copy a:hover { color: var(--panel-text); }
.footer-copy {
  color: var(--panel-text-soft);
  font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid rgba(128,128,128,0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 80px 0 120px;
}
.empty-state h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.empty-state p { color: var(--text-soft); font-size: 18px; margin-bottom: 28px; }

/* ---------- REVEAL ---------- */
[data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-product-split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "crumbs"
      "copy"
      "art";
    gap: 28px;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-product .crumbs,
  .hero-product .hero-copy {
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero-product .crumbs { justify-content: center; }
  .hero-art {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
  }
  .hero-art img {
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: bottom center;
  }
  .hero-copy { max-width: 680px; text-align: center; margin: 0 auto; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-copy .btn-row { justify-content: center; }
  .app-icon-pair { justify-content: center; }
  .device-stage { min-height: 560px; }
}

@media (max-width: 960px) {
  .featured-app,
  .footer-grid,
  .card-grid.two,
  .split-grid,
  .studio-intro,
  .shot-row,
  .shot-row.reverse { grid-template-columns: 1fr; }
  .shot-row.reverse .shot-copy,
  .shot-row.reverse .shot-device { order: unset; }
  .featured-app { padding: 32px 24px; }
}

@media (max-width: 860px) {
  .wrap, .wrap-narrow, .wrap-wide, nav { padding-left: 22px; padding-right: 22px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .build-grid,
  .card-grid.three { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .hero { padding: 48px 0 20px; }
  .hero.hero-product { padding-bottom: 0; }
  .hero.hero-product .hero-product-split {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-product .crumbs,
  .hero-product .hero-copy {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero-product .hero-copy { padding-bottom: 0; }
  .page-hero { padding: 56px 0 28px; }
  .panel { padding: 48px 24px; border-radius: 16px; }
  .panel-section { padding-bottom: 80px; }
  .feature-row { grid-template-columns: 40px 1fr; }
  .feature-icon-wrap { display: none; }
  .form { padding: 24px; }
  .footer-wordmark { font-size: 34px; }
  .device-stage { min-height: 480px; }
  .device-stage .iphone-front { width: 210px; }
  .device-stage .iphone-back { width: 186px; transform: rotate(-8deg) translate(-86px, 36px); }
  .iphone { width: 220px; }
  .showcase { padding: 72px 0; }
  .iphone-row { gap: 36px 20px; }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .device-stage .iphone-back { display: none; }
  .device-stage { min-height: auto; padding: 12px 0 24px; }
  .device-stage .iphone-front { transform: none; width: 240px; }
}

@media (max-width: 380px) {
  .featured-title { gap: 16px; }
  .featured-title .app-icon {
    width: 56px;
    height: 56px;
    border-radius: 13px;
  }
}
