/* ============================================================
   /new: Apple style design language
   System font (SF Pro on Apple devices, Inter elsewhere), Apple
   greys and blue, large tight headlines, rounded tiles, quiet motion.
   ============================================================ */

:root {
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --dark: #000000;
  --dark-tile: #161617;
  --dark-tile-2: #1d1d1f;
  --on-dark: #f5f5f7;
  --blue: #0071e3;
  --link: #0066cc;
  --link-dark: #2997ff;
  --green: #34c759;
  --red: #ff3b30;
  --orange: #ff9500;
  --purple: #af52de;
  --line: #d2d2d7;
  --grad: linear-gradient(90deg, #2997ff 0%, #8e6bff 55%, #d66bff 100%);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --shell: 1024px;
  --wide: 1180px;
  --radius: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 52px; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; letter-spacing: inherit; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 22px; }
.shell--wide { max-width: var(--wide); }

/* ---------- type ---------- */
.eyebrow { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; margin-bottom: 14px; }
.eyebrow--blue { color: var(--blue); }
.eyebrow--grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.headline {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.headline--md { font-size: clamp(36px, 5vw, 64px); line-height: 1.0625; }
.lead {
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.33;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-2);
  max-width: 34em;
  margin-top: 22px;
}
.section-intro { max-width: 820px; margin-bottom: clamp(48px, 7vw, 80px); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }
.tile-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.125; font-weight: 600; letter-spacing: -0.02em; }
.tile-text { font-size: 17px; color: var(--text-2); margin-top: 10px; max-width: 30em; }
.dark .tile-text, .tile--dark .tile-text { color: var(--text-3); }

/* ---------- links and buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px; border: 0;
  background: var(--blue); color: #fff; font-size: 17px; font-weight: 400; letter-spacing: -0.022em;
  cursor: pointer; transition: background .2s var(--ease), transform .1s ease-out;
}
.button:hover { background: #0077ed; }
.button:active { transform: scale(.97); }
.button--sm { min-height: 28px; padding: 4px 12px; font-size: 12px; letter-spacing: -0.01em; }
.button--light { background: var(--bg); color: var(--text); }
.button--light:hover { background: #fff; color: var(--blue); }
.more { color: var(--link); font-size: 17px; display: inline-flex; align-items: center; gap: 2px; }
.more::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); margin-left: 3px; transition: transform .2s var(--ease); }
.more:hover { text-decoration: underline; }
.more:hover::after { transform: translate(2px, -1px); }
.dark .more, .tile--dark .more { color: var(--link-dark); }
.ctas { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; }

/* ============================================================
   NAV: thin translucent bar, content scrolls underneath
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 48px;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav__inner { max-width: var(--wide); height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 28px; }
.nav__logo { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; margin: 0 auto; font-size: 12px; letter-spacing: -0.01em; }
.nav__links a { color: rgba(0,0,0,.8); transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--blue); }
.nav__cta { flex: none; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-right: -12px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 14px; width: 17px; height: 1.2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__mobonly { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 120px 0 0; text-align: center; overflow: hidden; }
.hero .eyebrow { margin-bottom: 10px; }
.hero__title { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
.hero__title span { display: block; color: var(--text-3); }
.hero .lead { margin: 22px auto 0; max-width: 30em; }
.hero__media {
  position: relative; width: min(100% - 44px, var(--wide)); margin: 56px auto 0;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PROBLEM: lines light up as you scroll
   ============================================================ */
.dark { background: var(--dark); color: var(--on-dark); }
.problem { padding: clamp(120px, 16vw, 200px) 0; margin-top: clamp(80px, 10vw, 140px); }
.problem__lines li {
  font-size: clamp(36px, 6vw, 72px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em;
  color: #424245; transition: color .3s var(--ease);
}
.problem__lines li + li { margin-top: .18em; }
.problem__lines li.is-lit { color: var(--on-dark); }
.problem__lines li.is-lit.hl-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.problem__after { margin-top: 56px; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.4; font-weight: 500; color: var(--text-3); max-width: 30em; }
.problem__after strong { color: var(--on-dark); font-weight: 600; }

/* ============================================================
   SECTIONS AND TILES
   ============================================================ */
.section { padding: clamp(100px, 13vw, 160px) 0; }
.section--grey { background: var(--bg-2); }

.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden;
  background: var(--bg); border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
  display: flex; flex-direction: column;
}
.section:not(.section--grey):not(.dark) .tile { background: var(--bg-2); }
.tile--dark { background: var(--dark-tile) !important; color: var(--on-dark); }
.tile--span { grid-column: 1 / -1; }
.tile--split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.tile__demo { margin-top: 34px; flex: 1; display: flex; align-items: center; justify-content: center; }
.tile--split .tile__demo { margin-top: 0; }

/* ---------- One of everything ---------- */
.ones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.one { background: var(--bg-2); border-radius: 22px; padding: 26px 22px 24px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.one:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.2); }
.one__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 22px; }
.one__icon svg { width: 26px; height: 26px; }
.one__kicker { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: 0; text-transform: uppercase; }
.one h3 { font-size: 24px; line-height: 1.16; font-weight: 600; letter-spacing: -0.02em; margin: 2px 0 10px; }
.one p { font-size: 15px; color: var(--text-2); line-height: 1.45; flex: 1; }
.one .more { font-size: 15px; margin-top: 16px; }
.ic-blue { background: linear-gradient(160deg, #3b9bff, #0071e3); }
.ic-green { background: linear-gradient(160deg, #5ee07f, #28a745); }
.ic-orange { background: linear-gradient(160deg, #ffb340, #ff7a00); }
.ic-purple { background: linear-gradient(160deg, #c77dff, #8e44ec); }
.ic-pink { background: linear-gradient(160deg, #ff7aa8, #ff2d55); }
.ic-teal { background: linear-gradient(160deg, #5ad8f5, #0a9fd6); }
.ic-grey { background: linear-gradient(160deg, #a1a1a6, #636366); }
.ic-indigo { background: linear-gradient(160deg, #8a8cff, #5856d6); }

/* ============================================================
   DEMOS (looping from page load)
   ============================================================ */
.loop .s1, .loop .s2, .loop .s3, .loop .s4, .loop .s5 { opacity: 0; animation: 8s var(--ease) infinite both; }
.loop .s1 { animation-name: s1; }
.loop .s2 { animation-name: s2; }
.loop .s3 { animation-name: s3; }
.loop .s4 { animation-name: s4; }
.loop .s5 { animation-name: s5; }
@keyframes s1 { 0%{opacity:0;transform:translateY(8px) scale(.98)} 4%,93%{opacity:1;transform:none} 98%,100%{opacity:0} }
@keyframes s2 { 0%,9%{opacity:0;transform:translateY(8px) scale(.98)} 14%,93%{opacity:1;transform:none} 98%,100%{opacity:0} }
@keyframes s3 { 0%,19%{opacity:0;transform:translateY(8px) scale(.98)} 24%,93%{opacity:1;transform:none} 98%,100%{opacity:0} }
@keyframes s4 { 0%,29%{opacity:0;transform:translateY(8px) scale(.98)} 34%,93%{opacity:1;transform:none} 98%,100%{opacity:0} }
@keyframes s5 { 0%,39%{opacity:0;transform:translateY(8px) scale(.98)} 44%,93%{opacity:1;transform:none} 98%,100%{opacity:0} }

.device {
  width: 100%; max-width: 380px; background: var(--bg); border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05); overflow: hidden;
}
.device__bar { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.06); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; flex: none; }
.device__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.device__who strong { font-size: 15px; font-weight: 600; }
.device__who span { font-size: 12px; color: var(--green); letter-spacing: 0; }
.device__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 300px; background: #f2efe9; }
.bubble { font-size: 15px; line-height: 1.35; padding: 8px 12px; border-radius: 18px; max-width: 82%; letter-spacing: -0.01em; }
.bubble--in { align-self: flex-start; background: var(--bg); border-bottom-left-radius: 6px; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.bubble--out { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 6px; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.bubble strong { font-weight: 600; }
.bubble--report { border-left: 3px solid var(--blue); }
.status { align-self: center; font-size: 12px; font-weight: 500; letter-spacing: 0; color: #1f7a35; background: #e3f8e8; border-radius: 980px; padding: 6px 12px; }
.tile--dark .status { color: #7ee2a0; background: rgba(52,199,89,.14); }

/* call screen */
.call { width: 100%; max-width: 340px; text-align: center; padding: 26px 22px; border-radius: 26px; background: linear-gradient(180deg, #2a2a2e, #121214); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.call__label { font-size: 13px; color: var(--text-3); letter-spacing: 0; }
.call__name { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 2px; }
.call__time { font-size: 13px; color: var(--green); letter-spacing: 0; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; margin: 22px 0 14px; }
.wave i { width: 4px; height: 12px; border-radius: 4px; background: linear-gradient(#5ab0ff, #0071e3); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; } .wave i:nth-child(5n) { animation-duration: .9s; }
@keyframes wave { 0%,100% { height: 10px; } 50% { height: 48px; } }
.captions { position: relative; height: 48px; }
.captions span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: rgba(255,255,255,.9); }
.call__chips { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.call__chips span { font-size: 12px; letter-spacing: 0; padding: 6px 11px; border-radius: 980px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }

/* website widget */
.widget { width: 100%; max-width: 340px; background: var(--bg); border-radius: 22px; padding: 16px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 10px; }
.widget__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.widget__head i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.widget .bubble--in { background: var(--bg-2); box-shadow: none; }
.widget .bubble--out { background: var(--blue); color: #fff; box-shadow: none; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--bg-2); border-radius: 18px; border-bottom-left-radius: 6px; align-self: flex-start; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a1a1a6; animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%,60%,100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* notifications (iOS style) */
.notes { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.note {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 4px 12px; align-items: start;
  padding: 13px 15px; border-radius: 20px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.04);
}
.note__icon { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.note__icon svg { width: 20px; height: 20px; }
.note b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.note time { font-size: 12px; color: var(--text-3); letter-spacing: 0; }
.note p { grid-column: 2 / -1; font-size: 14px; line-height: 1.35; color: #3a3a3c; }

.lock {
  width: 100%; max-width: 380px; border-radius: 30px; padding: 30px 16px 18px; text-align: center; color: #fff;
  background: radial-gradient(120% 90% at 20% 0%, #5ab0ff 0%, #3b5bdb 40%, #6a3fd1 75%, #2a1b5e 100%);
  box-shadow: 0 30px 60px -30px rgba(40,20,120,.6);
}
.lock__date { font-size: 15px; font-weight: 500; opacity: .85; letter-spacing: 0; }
.lock__time { font-size: 72px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 22px; }
.lock .note { text-align: left; background: rgba(255,255,255,.72); color: var(--text); }

/* customer page */
.profile { width: 100%; max-width: 440px; background: var(--bg); border-radius: 24px; padding: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.05); }
.profile__head { display: flex; align-items: center; gap: 12px; }
.profile__head .avatar { width: 48px; height: 48px; font-size: 16px; background: linear-gradient(160deg, #3b9bff, #0071e3); }
.avatar--photo { display: block; background: none !important; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,.06); }
.profile__head strong { display: block; font-size: 17px; font-weight: 600; }
.profile__head span { font-size: 13px; color: var(--text-3); letter-spacing: 0; }
.badge { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: 0; color: #a05a00; background: #fff1db; border-radius: 980px; padding: 4px 10px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.stats3 div { background: var(--bg-2); border-radius: 14px; padding: 10px 12px; }
.stats3 b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.stats3 span { font-size: 12px; color: var(--text-3); letter-spacing: 0; }
.timeline { display: flex; flex-direction: column; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; font-size: 14px; line-height: 1.35; }
.timeline li i { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; background: var(--c); }
.timeline small { display: block; font-size: 12px; color: var(--text-3); letter-spacing: 0; }
.profile .status { margin-top: 14px; display: inline-block; }

/* reminders */
.list { width: 100%; max-width: 380px; background: var(--bg); border-radius: 22px; padding: 18px 18px 10px; box-shadow: 0 24px 50px -30px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.05); }
.list__title { font-size: 22px; font-weight: 700; color: var(--orange); letter-spacing: -0.02em; margin-bottom: 6px; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 15px; }
.list li:last-child { border-bottom: 0; }
.list small { display: block; font-size: 12px; color: var(--text-3); letter-spacing: 0; }
.list small.late { color: var(--red); }
.check { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c7c7cc; margin-top: 1px; }
.check em { position: absolute; inset: -1.5px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }

/* campaign */
.campaign { width: 100%; max-width: 380px; background: var(--bg); border-radius: 22px; padding: 20px; box-shadow: 0 24px 50px -30px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.05); }
.campaign strong { display: block; font-size: 17px; font-weight: 600; }
.campaign > span { font-size: 13px; color: var(--text-3); letter-spacing: 0; }
.channels { display: flex; gap: 6px; margin: 14px 0 16px; flex-wrap: wrap; }
.channels span { font-size: 12px; letter-spacing: 0; padding: 5px 10px; border-radius: 980px; background: var(--bg-2); }
.bar { display: grid; grid-template-columns: 76px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; letter-spacing: 0; margin-bottom: 10px; }
.bar span { color: var(--text-2); }
.bar i { height: 8px; border-radius: 8px; background: var(--bg-2); overflow: hidden; }
.bar i b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); animation: barGrow .8s var(--ease) both; animation-delay: calc(.15s + var(--i) * .1s); }
@keyframes barGrow { from { width: 0; } }
.bar em { font-style: normal; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.campaign .status { margin-top: 8px; display: inline-block; }

/* ============================================================
   OPERATIONS (dark)
   ============================================================ */
.flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 20px; }
.flow::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 21px; height: 2px;
  background: linear-gradient(90deg, rgba(41,151,255,0), #2997ff 12%, #8e6bff 60%, #d66bff 88%, rgba(214,107,255,0));
  }
.flow__step { position: relative; text-align: center; padding: 0 4px; }
.flow__dot {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; background: var(--dark-tile-2); color: var(--on-dark);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.flow__dot svg { width: 20px; height: 20px; }
.flow__step h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.flow__step p { font-size: 14px; line-height: 1.4; color: var(--text-3); margin-top: 6px; }
.ops-tiles { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 60px; }
.ops-tiles .tile { background: var(--dark-tile); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { font-size: 14px; letter-spacing: -0.01em; padding: 8px 14px; border-radius: 980px; background: var(--dark-tile-2); color: var(--on-dark); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.big-num { font-size: clamp(64px, 8vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile--stat { justify-content: flex-end; }
.tile--stat p { font-size: 19px; line-height: 1.35; font-weight: 500; color: var(--text-3); margin-top: 14px; max-width: 18em; }
.tile--stat p strong { color: var(--on-dark); font-weight: 600; }

/* ============================================================
   INSIGHTS: apps row
   ============================================================ */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.app { background: var(--bg); border-radius: 22px; padding: 26px 24px; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-items: start; }
.app .one__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; border-radius: 12px; }
.app .one__icon svg { width: 24px; height: 24px; }
.app h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.app p { font-size: 14px; line-height: 1.42; color: var(--text-2); }

/* ---------- Team apps: one shared customer list ---------- */
.team-apps { margin-top: clamp(80px, 10vw, 128px); }
.team-apps .section-intro { margin-bottom: 40px; }
.appmap { position: relative; aspect-ratio: 240 / 100; max-width: var(--wide); margin: 0 auto; }
.appmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.appmap__lines line { stroke: #c7c7cc; stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.appmap__lines circle { fill: var(--blue); }
.appmap__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  width: 200px; padding: 22px 18px; border-radius: 28px; background: var(--bg);
  box-shadow: 0 30px 60px -30px rgba(0,60,140,.35), 0 0 0 1px rgba(0,0,0,.04);
}
.appmap__hub img { width: 40px; height: auto; margin-bottom: 8px; }
.appmap__hub b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.appmap__hub span { font-size: 13px; color: var(--text-3); letter-spacing: 0; }
.appmap__items { display: contents; }
/* each app: the icon sits on its line, the words sit on the outer side */
.appmap__item { position: absolute; top: var(--y); z-index: 2; display: flex; align-items: center; gap: 18px; width: 31%; }
.appmap__item--left { right: 69%; flex-direction: row-reverse; text-align: right; transform: translate(36px, -50%); }
.appmap__item--right { left: 69%; transform: translate(-36px, -50%); }
.appmap__app {
  flex: none; width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  box-shadow: 0 18px 30px -16px rgba(0,0,0,.4); transition: transform .3s var(--ease);
}
.appmap__app svg { width: 34px; height: 34px; }
.appmap__item:hover .appmap__app { transform: translateY(-3px); }
.appmap__text h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.appmap__text p { font-size: 15px; line-height: 1.42; color: var(--text-2); margin-top: 4px; }

/* ============================================================
   PROTOTYPING
   ============================================================ */
.journey {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--bg-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px);
}
.journey__steps { display: flex; flex-direction: column; }
.jstep {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; border-top: 1px solid var(--line); color: var(--text);
  padding: 22px 0 22px; transition: opacity .3s var(--ease);
}
.jstep:last-child { border-bottom: 1px solid var(--line); }
.jstep:not(.is-active) { opacity: .55; }
.jstep:not(.is-active):hover { opacity: .85; }
.jstep:active { transform: scale(.99); }
.jstep:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.jstep__when { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.jstep__title { display: block; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.jstep__text {
  display: block; font-size: 17px; color: var(--text-2); max-width: 26em;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.jstep.is-active .jstep__text { max-height: 6em; opacity: 1; margin-top: 8px; }
.jstep__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.jstep__bar i { display: block; height: 100%; width: 0; background: var(--text); }
.jstep.is-active .jstep__bar i { width: calc(var(--p, 0) * 100%); }

.journey__visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; height: 560px; border-radius: 50px; padding: 12px;
  background: #1d1d1f; box-shadow: 0 40px 80px -36px rgba(0,0,0,.45), inset 0 0 0 2px #3a3a3c;
}
.phone__island { position: absolute; z-index: 3; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; }
.jstage {
  position: absolute; inset: 12px; border-radius: 38px; overflow: hidden; background: #fff;
  padding: 62px 20px 22px; opacity: 0; transform: scale(.97);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.jstage.is-active { opacity: 1; transform: none; }
.jstage.is-active [class*="fb--"], .jstage.is-active .decide__opt { animation: popIn .35s var(--ease) both; }

/* 1: notes */
.notes-app { font-size: 15px; }
.notes-app__back { color: #e0a800; font-size: 15px; margin-bottom: 10px; }
.notes-app__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.notes-app__date { font-size: 12px; color: var(--text-3); letter-spacing: 0; margin: 2px 0 14px; }
.notes-app__list li { position: relative; padding-left: 18px; margin-bottom: 8px; line-height: 1.35; }
.notes-app__list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #e0a800; }
.sketch { position: relative; margin-top: 18px; border: 2px dashed #c7c7cc; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; transform: rotate(-1.5deg); }
.sketch span { height: 12px; border-radius: 6px; background: #e5e5ea; }
.sketch span:nth-child(2) { width: 70%; }
.sketch__btn { width: 55%; height: 22px !important; background: #d1d1d6 !important; border-radius: 11px !important; margin-top: 4px; }
.sketch em { position: absolute; right: 10px; bottom: -22px; font-size: 12px; color: var(--text-3); letter-spacing: 0; }

/* 2: the app */
.app-ui__title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.app-ui__label { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: 0; text-transform: uppercase; margin: 12px 0 8px; }
.app-ui__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.app-ui__days span { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border-radius: 12px; background: var(--bg-2); font-size: 11px; color: var(--text-2); letter-spacing: 0; }
.app-ui__days b { font-size: 17px; color: var(--text); font-weight: 600; }
.app-ui__slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.app-ui__slots span { text-align: center; padding: 9px 0; border-radius: 12px; background: var(--bg-2); font-size: 14px; font-weight: 500; }
.app-ui .on { background: var(--blue) !important; color: #fff !important; }
.app-ui .on b { color: #fff; }
.app-ui__summary { display: flex; justify-content: space-between; margin: 18px 0 12px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); font-size: 14px; color: var(--text-2); }
.app-ui__summary b { color: var(--text); }
.app-ui__pay { display: block; text-align: center; padding: 13px 0; border-radius: 14px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 600; }
.jstage.is-active .app-ui > * { animation: popIn .3s var(--ease) both; }
.jstage.is-active .app-ui > :nth-child(2) { animation-delay: .04s; }
.jstage.is-active .app-ui > :nth-child(3) { animation-delay: .08s; }
.jstage.is-active .app-ui > :nth-child(4) { animation-delay: .12s; }
.jstage.is-active .app-ui > :nth-child(5) { animation-delay: .16s; }
.jstage.is-active .app-ui > :nth-child(6) { animation-delay: .2s; }
.jstage.is-active .app-ui > :nth-child(7) { animation-delay: .24s; }

/* 3: testers */
.app-ui--dim { opacity: .35; filter: blur(1px); }
.jstage.is-active .app-ui--dim > * { animation: none; }
.testers { position: absolute; inset: 62px 14px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.testers__head { align-self: stretch; text-align: center; font-size: 14px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 8px 24px -10px rgba(0,0,0,.25); margin-bottom: 8px; }
.fb { font-size: 14px; padding: 9px 13px; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.04); max-width: 90%; }
.fb--2 { align-self: flex-end; background: #fff5e0; }
.fb--3 { margin-left: 18px; }
.jstage.is-active .fb--1 { animation-delay: .1s; }
.jstage.is-active .fb--2 { animation-delay: .3s; }
.jstage.is-active .fb--3 { animation-delay: .5s; }

/* 4: decision */
.decide__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.decide__sub { font-size: 13px; color: var(--text-3); letter-spacing: 0; margin: 2px 0 18px; }
.decide__opt { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: var(--bg-2); margin-bottom: 10px; font-size: 13px; color: var(--text-3); letter-spacing: 0; }
.decide__opt b { display: block; font-size: 16px; color: var(--text); letter-spacing: -0.015em; }
.decide__opt i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #c7c7cc; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; }
.decide__opt.is-pick { background: #e8f8ec; box-shadow: inset 0 0 0 1.5px var(--green); }
.decide__opt.is-pick i { background: var(--green); border-color: var(--green); color: #fff; }
.jstage.is-active .decide__opt:nth-of-type(2) { animation-delay: .06s; }
.jstage.is-active .decide__opt:nth-of-type(3) { animation-delay: .12s; }
.decide__note { margin-top: 16px; text-align: center; font-size: 13px; font-weight: 600; color: #1f7a35; letter-spacing: 0; }

@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.proto-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.proto-foot .big-num { font-size: clamp(56px, 6vw, 80px); }
.proto-foot p { font-size: clamp(19px, 2vw, 24px); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; max-width: 26em; }

/* ============================================================
   RESULTS (dark) and CLIENTS
   ============================================================ */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.numbers div { text-align: left; }
.numbers .big-num { font-size: clamp(56px, 7vw, 88px); }
.numbers p { font-size: 17px; color: var(--text-3); margin-top: 10px; max-width: 16em; }
.numbers p strong { color: var(--on-dark); font-weight: 600; }

.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 64px; }
.logos li { background: var(--bg-2); border-radius: 18px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 14px; }
.logos img { max-height: 64px; max-width: 84%; width: auto; object-fit: contain; transition: transform .3s var(--ease); }
.logos li:hover img { transform: scale(1.04); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--bg-2); border-radius: var(--radius); padding: 32px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.quote blockquote { font-size: 21px; line-height: 1.33; font-weight: 600; letter-spacing: -0.02em; }
.quote figcaption strong { display: block; font-size: 15px; font-weight: 600; }
.quote figcaption span { font-size: 14px; color: var(--text-3); }

/* ============================================================
   BUILT AROUND YOU
   ============================================================ */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.how__intro { position: sticky; top: 110px; }
.how__cta { margin-top: 30px; }
.how .headline--md { font-size: clamp(36px, 4.2vw, 56px); }
.how__steps { position: relative; padding-left: 44px; }
/* the line: a grey track, and a fill that follows your scroll */
.how__steps::before, .how__steps::after { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.how__steps::before { background: var(--line); }
.how__steps::after { background: linear-gradient(180deg, #2997ff, #8e6bff 60%, #d66bff); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.how__step { position: relative; padding: 0 0 clamp(56px, 8vw, 96px); opacity: .4; transition: opacity .3s var(--ease); }
.how__step:last-child { padding-bottom: 0; }
.how__step.is-reached { opacity: 1; }
.how__dot { position: absolute; z-index: 1; left: -44px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--line); transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.how__step.is-reached .how__dot { background: var(--blue); box-shadow: 0 0 0 5px rgba(0,113,227,.15); transform: scale(1.05); }
.how__when { font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.how__step h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; margin: 6px 0 12px; }
.how__text { font-size: 19px; line-height: 1.42; color: var(--text-2); max-width: 28em; }
.how__get { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px 8px 8px; border-radius: 980px; background: var(--bg); font-size: 15px; font-weight: 500; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.how__get span { flex: none; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: #1f7a35; background: #e3f8e8; border-radius: 980px; padding: 4px 10px; }

.pledges { margin-top: clamp(80px, 10vw, 120px); background: var(--bg); border-radius: var(--radius); padding: clamp(32px, 4vw, 52px); }
.pledges__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; text-align: center; margin-bottom: 40px; }
.pledges__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.pledge { text-align: center; padding: 0 clamp(16px, 2.4vw, 32px); }
.pledge + .pledge { border-left: 1px solid var(--line); }
.pledge__icon { display: inline-block; width: 44px; height: 44px; margin-bottom: 16px; }
.pledge__icon svg { width: 100%; height: 100%; }
.pledge h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.pledge p { font-size: 15px; line-height: 1.45; color: var(--text-2); margin-top: 8px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq p { font-size: 17px; color: var(--text-2); max-width: 40em; padding: 0 0 26px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { text-align: center; }
.cform { max-width: 680px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.cform__full { grid-column: 1 / -1; }
.field {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text); font-size: 17px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field::placeholder { color: var(--text-3); }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.cform .button { grid-column: 1 / -1; justify-self: center; min-width: 200px; margin-top: 10px; }
.cform__note { grid-column: 1 / -1; text-align: center; font-size: 15px; color: #1f7a35; min-height: 1.4em; }
.cform__note.is-error { color: var(--red); }
.dark .field { background: var(--dark-tile-2); border-color: #424245; color: var(--on-dark); }
.dark .field::placeholder { color: var(--text-3); }
.dark .field:focus { border-color: var(--link-dark); box-shadow: 0 0 0 4px rgba(41,151,255,.2); }
.dark .cform__note { color: #7ee2a0; }
.dark .cform__note.is-error { color: #ff6961; }
.contact__alt { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); color: var(--text-2); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; padding: 40px 0 26px; }
.footer__note { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.footer__logo { display: inline-block; margin-top: 26px; }
.footer__logo img { height: 30px; width: auto; }
.footer__note + .footer__logo { margin-top: 26px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0; }
.footer h5 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer__cols a { display: block; padding: 4px 0; }
.footer__cols a:hover { text-decoration: underline; color: var(--text); }
.footer__badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__badges img { height: 44px; width: auto; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e8e8ed; }
.footer__social a:hover { background: #dcdce1; }
.footer__social svg { width: 14px; height: 14px; fill: var(--text-2); }

/* ============================================================
   REVEAL
   ============================================================ */
/* Content is shown as soon as the page loads; nothing waits for a scroll to fade in */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loop .s1, .loop .s2, .loop .s3, .loop .s4, .loop .s5 { animation: none !important; opacity: 1; }
  .bar i b { animation: none; }
  .wave i, .typing i { animation: none; }
  .problem__lines li { color: var(--on-dark); transition: none; }
  .flow::before { transform: none; transition: none; }
  .bar i b { width: var(--w); transition: none; }
  .jstage, .jstep__text { transition: none; }
  .how__step { opacity: 1; transition: none; }
  .appmap__lines circle { display: none; }
  .how__steps::after { transform: none; }
  .jstage.is-active *, .jstage.is-active [class*="fb--"] { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .note { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============================================================
   RESPONSIVE (Apple breakpoints)
   ============================================================ */
@media (max-width: 1068px) {
  .ones { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .apps, .quotes { grid-template-columns: repeat(2, 1fr); }
  .pledges__row { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .pledge:nth-child(3) { border-left: 0; }
  .journey { grid-template-columns: 1fr; }
  .journey__visual { order: -1; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 834px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 48px; left: 0; right: 0; margin: 0; padding: 12px 34px 30px;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    font-size: 24px; font-weight: 600; letter-spacing: -0.02em; min-height: calc(100svh - 48px);
  }
  .nav__links.is-open a { padding: 10px 0; color: var(--text); }
  .nav__links.is-open .nav__mobonly { display: block; }
  .nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .bento, .ops-tiles { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 56px; }
  .how__intro { position: static; }
  .tile--split { grid-template-columns: 1fr; gap: 30px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 734px) {
  body { font-size: 17px; }
  .hero { padding-top: 96px; }
  .hero__media { aspect-ratio: 4 / 5; width: calc(100% - 32px); margin-top: 40px; border-radius: 22px; }
  .shell { padding: 0 20px; }
  .ones, .apps, .quotes, .numbers, .pledges__row { grid-template-columns: 1fr; }
  .pledge { border-left: 0 !important; padding: 0; }
  .pledge + .pledge { border-top: 1px solid var(--line); padding-top: 28px; }
  .how__text { font-size: 17px; }
  .proto-foot { grid-template-columns: 1fr; gap: 12px; }
  .phone { transform: scale(.92); margin: -20px 0; }
  .flow { grid-template-columns: 1fr 1fr; }
  .cform { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .tile { border-radius: 24px; }
  .numbers { gap: 44px; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.nav__links a[aria-current="page"] { color: var(--text); font-weight: 600; }

.page-hero { padding: 132px 0 clamp(56px, 8vw, 96px); text-align: center; }
.page-hero h1 { font-size: clamp(44px, 6.6vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
.page-hero h1 span { display: block; color: var(--text-3); }
.page-hero .lead { margin: 22px auto 0; max-width: 32em; }
.page-hero__meta { display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); margin-top: 44px; flex-wrap: wrap; }
.page-hero__meta div { text-align: center; }
.page-hero__meta b { display: block; font-size: clamp(36px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero__meta span { font-size: 14px; color: var(--text-2); letter-spacing: 0; }

/* ---------- Our Work ---------- */
.sc-filter {
  position: sticky; top: 48px; z-index: 50; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  padding: 12px 22px; background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.sc-filter button {
  font-size: 14px; letter-spacing: -0.01em; padding: 8px 16px; border-radius: 980px; border: 0; cursor: pointer;
  background: var(--bg-2); color: var(--text); transition: background .2s var(--ease), color .2s var(--ease);
}
.sc-filter button:hover { background: #e8e8ed; }
.sc-filter button.is-active { background: var(--text); color: #fff; }
.sc-filter button:active { transform: scale(.97); }
.sc-cat { padding: clamp(56px, 7vw, 88px) 0 0; scroll-margin-top: 110px; }
.sc-cat__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.sc-cat__head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.sc-cat__kicker { font-size: 19px; color: var(--text-2); margin-top: 8px; }
.sc-count { font-size: 14px; color: var(--text-3); white-space: nowrap; letter-spacing: 0; }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sc-card { display: flex; flex-direction: column; background: var(--bg-2); border-radius: 22px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.3); }
.sc-card:active { transform: scale(.99); }
.sc-thumb { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: #e8e8ed; }
.sc-thumb__fallback { position: absolute; font-size: 32px; font-weight: 600; color: var(--text-3); }
.sc-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sc-thumb img.is-broken { display: none; }
.sc-card:hover .sc-thumb img { transform: scale(1.03); }
.sc-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sc-card__body h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.sc-card__body p { font-size: 15px; color: var(--text-2); flex: 1; line-height: 1.4; }
.sc-visit { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 15px; color: var(--link); }
.sc-visit svg { width: 14px; height: 14px; }
.sc-card:hover .sc-visit { text-decoration: underline; }

/* ---------- Legal ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 0 22px clamp(100px, 13vw, 160px); }
.legal h2 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; margin: 48px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; }
.legal li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--link); }
.legal a:hover { text-decoration: underline; }

/* ---------- Careers ---------- */
.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trait { background: var(--bg-2); border-radius: var(--radius); padding: 34px 30px; }
.trait .one__icon { margin-bottom: 20px; }
.trait h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.trait p { font-size: 17px; color: var(--text-2); margin-top: 8px; }
.cform--career { max-width: 560px; grid-template-columns: 1fr; }
.file-field { position: relative; }
.file-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.file-field label {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 18px;
  border-radius: 14px; border: 1px dashed #6e6e73; color: var(--text-3); font-size: 17px; background: var(--dark-tile-2);
}
.file-field label svg { width: 20px; height: 20px; flex: none; }
.file-field:hover label, .file-field input:focus-visible + label { border-color: var(--link-dark); color: var(--on-dark); }
.file-field.has-file label { border-style: solid; color: var(--on-dark); }

/* ---------- About ---------- */
.statement { padding: clamp(110px, 14vw, 180px) 0; text-align: center; }
.statement p { font-size: clamp(32px, 5vw, 64px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; max-width: 16em; margin: 0 auto; }
.statement p span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { background: var(--bg); border-radius: var(--radius); padding: 36px 32px; }
.principle__num { font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.principle h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; margin: 10px 0 12px; }
.principle p { font-size: 17px; color: var(--text-2); }
.founder { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.founder__photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #2c2c2e; aspect-ratio: 1 / 1; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__role { font-size: 19px; color: var(--text-2); margin-top: 6px; }
.founder__quote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin: 28px 0 18px; }
.founder__bio { font-size: 17px; color: var(--text-2); max-width: 34em; }
.founder__links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.partners { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--bg-2); border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); }
.partners__badges { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.partners__badges img { height: 72px; width: auto; }
.cta-pair { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }

@media (max-width: 1068px) {
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 834px) {
  .traits, .principles { grid-template-columns: 1fr; }
  .partners, .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 420px; }
  .partners__badges { justify-content: flex-start; }
}
@media (max-width: 734px) {
  .page-hero { padding-top: 100px; }
  .sc-grid { grid-template-columns: 1fr; }
  .sc-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sc-filter::-webkit-scrollbar { display: none; }
  .sc-filter button { flex: none; }
  .sc-cat__head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
.logos--white li { background: var(--bg); }
a.app { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.app:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(0,0,0,.28); }
.section:not(.section--grey) .app { background: var(--bg-2); }

@media (max-width: 900px) {
  .appmap { aspect-ratio: auto; max-width: 520px; }
  .appmap__lines { display: none; }
  .appmap__hub { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 8px; }
  .appmap__items { display: block; position: relative; padding-top: 24px; }
  .appmap__items::before { content: ""; position: absolute; left: 32px; top: 0; bottom: 40px; border-left: 1.5px dashed #c7c7cc; }
  .appmap__item, .appmap__item--left, .appmap__item--right {
    position: relative; top: auto; left: auto; right: auto; width: auto; transform: none;
    flex-direction: row; text-align: left; align-items: flex-start; padding: 12px 0;
  }
  .appmap__app { width: 64px; height: 64px; border-radius: 16px; }
  .appmap__app svg { width: 30px; height: 30px; }
  .appmap__text { padding-top: 6px; }
}
