/* ==========================================================================
   Edite Labs — v3 styles
   Calm, light, minimal. One accent. Mockups are the centrepiece.
   ========================================================================== */

:root {
  --bg: #f7f6f3;
  --bg-2: #efede8;
  --white: #fff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, .08);
  --line-2: rgba(29, 29, 31, .14);

  --accent: #0e7a5f;
  --accent-ink: #0b654e;
  --accent-bright: #3fbf93;
  --accent-soft: #e4f2ec;
  --amber: #9a5b06;
  --amber-dot: #e39a2d;
  --amber-soft: #fbf0dd;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
  --container-wide: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(96px, 13vw, 168px);

  --shadow-mock: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 32px -12px rgba(0, 0, 0, .14), 0 44px 80px -32px rgba(0, 0, 0, .16);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -14px rgba(0, 0, 0, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b, strong { font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.br-wide { display: none; }
@media (min-width: 760px) { .br-wide { display: inline; } }

.icon { width: 16px; height: 16px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--quiet { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--quiet:hover { box-shadow: inset 0 0 0 1px rgba(29, 29, 31, .3); }
.btn--quiet .icon { transition: transform .2s var(--ease); }
.btn--quiet:hover .icon { transform: translateX(2px); }

.link { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(14, 122, 95, .35); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 243, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 28px; height: 28px; }
.brand__name { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brand--sm .brand__mark { width: 24px; height: 24px; }
.brand--sm .brand__name { font-size: 15px; }

.nav { margin-left: auto; display: none; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: 14px; color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); background: rgba(29, 29, 31, .05); }
.header__cta { display: none; }

.menu-toggle {
  margin-left: auto; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(247, 246, 243, .98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 28px;
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-menu li a { display: block; padding: 14px 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-menu__cta { width: 100%; margin-top: 24px; }

@media (min-width: 940px) {
  .nav, .header__cta { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Shared type ---------- */
.eyebrow { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: -.005em; }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  margin-top: 14px;
  font-size: clamp(36px, 5.2vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em;
  text-wrap: balance;
}
.section-lede { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.section-head--center .section-lede { max-width: 620px; margin-left: auto; margin-right: auto; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0;
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; }
.tag--center { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 11vw, 128px); }
.hero__copy { text-align: center; }
.hero__title {
  margin: 18px auto 0; max-width: 15ch;
  font-size: clamp(44px, 7.4vw, 96px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__lede {
  margin: 24px auto 0; max-width: 600px;
  font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--muted); text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (min-width: 760px) { .hero__title { max-width: none; } }

.hero-stage {
  position: relative; margin-top: clamp(56px, 8vw, 96px);
  border-radius: clamp(28px, 3vw, 40px); overflow: hidden;
  height: clamp(600px, 54vw, 740px);
  background:
    radial-gradient(70% 60% at 18% 8%, #ebe5da 0%, rgba(235, 229, 218, 0) 70%),
    radial-gradient(60% 60% at 88% 96%, #dce9e2 0%, rgba(220, 233, 226, 0) 70%),
    radial-gradient(50% 50% at 70% 20%, #e8e9ec 0%, rgba(232, 233, 236, 0) 70%),
    #eceae4;
}
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: clamp(40px, 6vw, 64px) 16px 0; }
.lock__time { display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.lock__date { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: -.01em; }
.lock__clock { font-size: clamp(72px, 9vw, 104px); font-weight: 600; line-height: 1; letter-spacing: -.045em; margin-top: 4px; font-variant-numeric: tabular-nums; color: rgba(29, 29, 31, .88); }
.notes {
  transition: opacity .6s var(--ease);
  width: min(440px, 100%); margin-top: clamp(28px, 4vw, 40px);
  display: flex; flex-direction: column;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}
.note { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease), opacity .6s var(--ease), transform .7s var(--ease); }
.note__clip { min-height: 0; overflow: hidden; }
.note__card {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 10px; padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 1px 1px rgba(0, 0, 0, .03), 0 10px 28px -14px rgba(0, 0, 0, .22);
}
.note__body { flex: 1; min-width: 0; }
.note__meta { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.note__meta b { color: var(--ink); }
.note__meta span { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.note__text { margin-top: 2px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.note__actions { display: flex; gap: 8px; margin-top: 10px; }
.note__btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgba(29, 29, 31, .06); color: var(--ink); }
.note__btn--primary { background: var(--accent); color: #fff; }
.note.is-collapsed { grid-template-rows: 0fr; opacity: 0; transform: translateY(-10px) scale(.97); }
.tag--on-stage { position: absolute; left: 20px; top: 20px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- Avatars ---------- */
.avatar { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); background: #e8e7e3; }
.avatar svg { width: 100%; height: 100%; }
.avatar--sales { background: #efe5d6; }
.avatar--support { background: #dcebe4; }
.avatar--ops { background: #e5e5ea; }
.avatar--finance { background: #e1e6ee; }
.avatar--xs { width: 22px; height: 22px; }
.avatar--sm { width: 32px; height: 32px; }
.avatar--lg { width: 52px; height: 52px; }

/* ---------- Showcase ---------- */
.showcase { padding-top: clamp(112px, 14vw, 180px); }
.tabs { display: flex; justify-content: center; }
.tabs__list {
  position: relative; display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(29, 29, 31, .055);
}
.tabs__tab {
  position: relative; z-index: 1;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.tabs__pill { display: none; }
.tabs.is-ready .tabs__tab[aria-selected="true"] { background: transparent; box-shadow: none; }
.tabs.is-ready .tabs__pill {
  display: block; position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0;
  width: var(--w, 0); transform: translateX(var(--x, 0));
  border-radius: 999px; background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 12px -6px rgba(0, 0, 0, .1);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
@media (max-width: 420px) {
  .tabs__tab { padding: 0 12px; font-size: 14px; }
}

.panels { margin-top: clamp(40px, 5vw, 64px); }
.panel { display: grid; gap: 40px; }
.panel + .panel { margin-top: 96px; }
.js .panel + .panel { margin-top: 0; }
.panel[hidden] { display: none; }
.panel.is-entering { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel:focus-visible { outline-offset: 8px; border-radius: 24px; }

.panel__copy { max-width: 560px; }
.panel__kicker { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: -.005em; }
.panel__title { margin-top: 10px; font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.panel__text { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.points { margin-top: 24px; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.points li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-4.9' fill='none' stroke='%230e7a5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (min-width: 1024px) {
  .panel { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); align-items: center; }
}

.stage {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  min-width: 0;
  padding: clamp(20px, 3.6vw, 48px) clamp(14px, 3.6vw, 48px) 22px;
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(80% 70% at 15% 0%, #f1ece3 0%, rgba(241, 236, 227, 0) 70%),
    radial-gradient(70% 60% at 100% 100%, #e3ece7 0%, rgba(227, 236, 231, 0) 70%),
    var(--bg-2);
}
@media (min-width: 1024px) { .stage { min-height: 640px; } }

/* Shared window chrome */
.win { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-mock), 0 0 0 1px rgba(0, 0, 0, .05); min-width: 0; }
.win__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #f4f3f0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.win__dots { display: inline-flex; gap: 7px; flex: none; }
.win__dots i { width: 11px; height: 11px; border-radius: 50%; background: #dad8d3; }
.win__title { font-weight: 500; color: var(--ink-2); flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__search { flex: none; height: 24px; padding: 0 12px 0 10px; display: none; align-items: center; border-radius: 7px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); width: 140px; }
@media (min-width: 720px) { .win__search { display: inline-flex; } }

.spinner { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid currentColor; border-right-color: transparent; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(63, 191, 147, .5); } 100% { box-shadow: 0 0 0 7px rgba(63, 191, 147, 0); } }

/* Animated-in step (generic) */
.is-pending { display: none !important; }
.is-ghost { opacity: 0; visibility: hidden; }
.is-fading { opacity: 0 !important; transition: opacity .5s var(--ease) !important; }
.is-paused, .is-paused * { animation-play-state: paused !important; }
.tw { display: grid; }
.tw > span { grid-area: 1 / 1; }
.tw__ghost { visibility: hidden; }
.is-enter { animation: stepIn .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- (a) Phone / chat ---------- */
.stage--phone { padding-top: clamp(28px, 4vw, 48px); }
.phone {
  width: min(330px, 100%); height: 660px; padding: 10px; flex: none;
  border-radius: 54px; background: #1d1d1f;
  box-shadow: var(--shadow-mock), inset 0 0 0 1.5px #3a3a3c;
}
.phone__screen { position: relative; height: 100%; border-radius: 45px; overflow: hidden; background: #f2f1ed; display: flex; flex-direction: column; }
.phone__status { position: relative; flex: none; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0 34px; background: rgba(255, 255, 255, .86); }
.phone__time { font-size: 15px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.phone__island { position: absolute; left: 50%; top: 11px; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #0b0b0c; }
.phone__icons { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.phone__icons svg { height: 11px; width: auto; fill: currentColor; }
.chat__header { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px 14px; background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--line); }
.chat__back { width: 10px; height: 17px; color: var(--accent); }
.chat__logo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 15px; font-weight: 700; }
.chat__who { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.chat__who b { font-size: 15px; letter-spacing: -.015em; }
.chat__who span { font-size: 11.5px; color: var(--muted); }
.chat__body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 12px 6px; }
.chat__track { display: flex; flex-direction: column; gap: 7px; }
.chat__day { align-self: center; font-size: 11px; font-weight: 500; color: var(--muted); margin: 2px 0 4px; }
.msg { max-width: 82%; padding: 8px 12px 9px; border-radius: 19px; font-size: 14px; line-height: 1.36; letter-spacing: -.01em; }
.msg--out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg--in { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 1px 1px rgba(0, 0, 0, .04); }
.msg--card { max-width: 86%; padding: 6px 6px 9px; }
.msg--card > .bcard + * { padding: 0 6px; }
.slots { display: grid; gap: 5px; margin-top: 8px; }
.slots span { display: block; padding: 6px 10px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 500; color: var(--ink-2); text-align: center; }
.slots .is-picked { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(14, 122, 95, .35); color: var(--accent); }
.typing { display: none; align-self: flex-start; gap: 4px; padding: 12px 14px; border-radius: 19px; border-bottom-left-radius: 6px; background: var(--white); }
.typing.is-active { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b8b8bd; animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.toolchips { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; }
.toolchip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 4px; border-radius: 999px;
  background: rgba(29, 29, 31, .055); font-size: 11.5px; font-weight: 500; color: var(--ink-2);
}
.toolchip__icon { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: background-color .3s; }
.toolchip__icon svg { width: 12px; height: 12px; }
.is-running .toolchip__icon { background: transparent; border: 1.6px solid var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.is-running .toolchip__icon svg { opacity: 0; }
.bcard { display: block; margin-bottom: 8px; padding: 10px 12px; border-radius: 14px; background: #f7f7f5; box-shadow: inset 0 0 0 1px var(--line); }
.bcard > span { display: block; }
.bcard__head { display: flex !important; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent); }
.bcard__tick { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.bcard__tick svg { width: 12px; height: 12px; }
.bcard__when { margin-top: 6px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.bcard__what { font-size: 12.5px; color: var(--muted); }
.bcard__link { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--accent); }
.chat__composer { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 26px; background: rgba(255, 255, 255, .86); border-top: 1px solid var(--line); }
.chat__plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 29, 31, .06); color: var(--muted); font-size: 18px; line-height: 1; }
.chat__input { flex: 1; height: 34px; display: flex; align-items: center; padding: 0 14px; border-radius: 17px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: #8e8e93; }
.chat__send { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.chat__send svg { width: 15px; height: 15px; }

/* ---------- (b) Computer use ---------- */
.desk { width: 100%; max-width: 900px; display: grid; gap: 16px; align-items: start; }
@media (min-width: 760px) { .desk { grid-template-columns: minmax(0, 1fr) 216px; } }
.addr {
  flex: 1; min-width: 0; max-width: 380px; margin: 0 auto; height: 26px;
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px;
  border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px; color: var(--ink-2);
}
.addr__lock { width: 11px; height: 11px; color: var(--muted); flex: none; }
.addr__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr__text.is-typing::after, .qty.is-focus .qty__val::after, .draft__body.is-typing .tw__live::after {
  content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -.18em;
  background: var(--ink); animation: pulse 1s steps(1) infinite;
}
.win__live { display: none; align-items: center; gap: 6px; flex: none; font-size: 11.5px; font-weight: 500; color: var(--accent); }
.win__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); animation: ring 1.6s ease-out infinite; }
@media (min-width: 1180px) { .win__live { display: inline-flex; } }

.portal { position: relative; background: #fafaf9; font-size: 13px; overflow: hidden; transition: opacity .4s var(--ease); }
.portal.is-loading { opacity: 0; }
.portal__nav { display: flex; align-items: center; gap: 18px; padding: 11px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.portal__logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 13px; letter-spacing: -.01em; color: #22364f; white-space: nowrap; }
.portal__logo i { width: 13px; height: 13px; border-radius: 3px; background: #2f4a6d; transform: rotate(45deg); }
.portal__links { display: none; gap: 14px; font-size: 12.5px; color: var(--muted); }
.portal__links .is-on { color: var(--ink); font-weight: 500; }
@media (min-width: 560px) { .portal__links { display: inline-flex; } }
.portal__acct { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); white-space: nowrap; transition: opacity .3s; }
.portal__acct::before { content: "SL"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e1e6ee; font-size: 9.5px; font-weight: 700; color: #22364f; }
.portal__acct.is-out { opacity: 0; }
.portal__main { padding: 18px; }
.portal__head { display: flex; flex-direction: column; gap: 2px; }
.portal__h { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.portal__sub { font-size: 12px; color: var(--muted); }
.rows { margin-top: 14px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; padding: 10px 12px; transition: background-color .4s var(--ease), opacity .4s var(--ease); }
.row + .row { border-top: 1px solid var(--line); }
.row.is-dim { opacity: .25; }
.row.is-found { background: #fdf8ef; }
.row__thumb { width: 34px; height: 34px; border-radius: 8px; position: relative; }
.row__thumb--box { background: linear-gradient(135deg, #e3d3b8, #d4bf9b); }
.row__thumb--box::after { content: ""; position: absolute; left: 6px; right: 6px; top: 15px; height: 4px; background: rgba(255, 255, 255, .45); border-radius: 2px; }
.row__thumb--film { background: linear-gradient(135deg, #e6ecf0, #cfd9e0); }
.row__thumb--film::after { content: ""; position: absolute; inset: 9px 7px; border-radius: 3px; background: rgba(255, 255, 255, .7); }
.row__thumb--tape { background: #efe9dc; }
.row__thumb--tape::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 5px solid #d8c69f; }
.row__name { min-width: 0; display: flex; flex-direction: column; }
.row__name b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__name span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__badge { font-size: 10.5px; font-weight: 600; color: var(--amber); background: var(--amber-soft); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.qty {
  height: 30px; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px;
  border-radius: 7px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: box-shadow .2s;
}
.qty.is-focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 3px var(--accent-soft); }
.portal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.portal__ship, .portal__total { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); line-height: 1.35; }
.portal__ship b, .portal__total b { font-size: 12.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.portal__total { margin-left: auto; text-align: right; }
.portal__submit { position: relative; height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 8px; background: #2f4a6d; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background-color .3s, color .3s, transform .15s; }
.portal__submit-b { display: none; align-items: center; gap: 5px; }
.portal__submit-b svg { width: 13px; height: 13px; }
.portal__submit.is-sent { background: var(--accent-soft); color: var(--accent); }
.portal__submit.is-sent .portal__submit-a { display: none; }
.portal__submit.is-sent .portal__submit-b { display: inline-flex; }
.portal__submit.is-press, .mbtn.is-press { transform: scale(.95); }

.cursor { position: absolute; left: 86%; top: 88%; z-index: 5; width: 22px; height: 22px; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); transition: left .85s cubic-bezier(.65, 0, .25, 1), top .85s cubic-bezier(.65, 0, .25, 1), opacity .3s; }
.cursor svg { width: 100%; height: 100%; }
.cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 26px; height: 26px; border-radius: 50%; background: rgba(14, 122, 95, .28); transform: scale(0); opacity: 0; }
.cursor.is-click::after { animation: click .45s var(--ease); }
@keyframes click { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.js .cursor { display: block; }

.trail { padding: 18px 18px 16px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0, 0, 0, .04); }
.trail__title { font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; }
.trail__sub { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.trail__steps { margin-top: 16px; display: grid; }
.trail__steps li { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--muted); transition: color .3s; }
.trail__steps li:not(:last-child)::before { content: ""; position: absolute; left: 9.5px; top: 27px; bottom: -7px; width: 1px; background: var(--line-2); }
.trail__dot { position: relative; width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); color: #fff; transition: background-color .3s, box-shadow .3s; }
.trail__dot svg { width: 12px; height: 12px; opacity: 0; transition: opacity .3s; }
.trail__dot .spinner { display: none; width: 12px; height: 12px; color: var(--accent); }
.trail__steps li.is-done { color: var(--ink-2); }
.trail__steps li.is-done .trail__dot { background: var(--accent); box-shadow: none; }
.trail__steps li.is-done .trail__dot svg { opacity: 1; }
.trail__steps li.is-run, .trail__steps li.is-wait { color: var(--ink); font-weight: 500; }
.trail__steps li.is-run .trail__dot, .trail__steps li.is-wait .trail__dot { box-shadow: inset 0 0 0 1.5px rgba(14, 122, 95, .25); }
.trail__steps li.is-run .spinner, .trail__steps li.is-wait .spinner { display: block; }
.trail__note { display: grid; margin-top: 14px; padding: 12px 12px 11px; border-radius: 12px; background: var(--amber-soft); font-size: 11.5px; color: var(--amber); line-height: 1.35; transition: opacity .4s var(--ease); }
.trail__note b { font-size: 15px; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin: 1px 0 2px; }
.trail__note-sub { color: var(--ink-2); }
.trail__note.is-out { opacity: 0; }

/* ---------- (c) Inbox ---------- */
.mail { width: 100%; max-width: 900px; }
.mail__cols { display: grid; min-height: 460px; }
@media (min-width: 720px) { .mail__cols { grid-template-columns: 220px minmax(0, 1fr); } }
.mail__list { display: none; background: #fafaf9; border-right: 1px solid var(--line); }
@media (min-width: 720px) { .mail__list { display: block; } }
.mail__item { display: block; padding: 12px 14px 13px; border-bottom: 1px solid var(--line); }
.mail__item > span { display: block; }
.mail__item.is-active { background: var(--white); box-shadow: inset 2px 0 0 var(--accent); }
.mail__row { display: flex !important; justify-content: space-between; gap: 8px; font-size: 13px; }
.mail__row span { font-size: 11.5px; color: var(--muted); }
.mail__subj { margin: 2px 0 7px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail__tag { display: inline-block !important; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(29, 29, 31, .055); color: var(--muted); }
.mail__tag--draft { background: var(--accent-soft); color: var(--accent); }
.mail__tag--you { background: var(--amber-soft); color: var(--amber); }
.mail__tag-b { display: none; }
.mail__tag.is-replied { background: rgba(29, 29, 31, .055); color: var(--muted); }
.mail__tag.is-replied .mail__tag-a { display: none; }
.mail__tag.is-replied .mail__tag-b { display: inline; }
.mail__read { padding: 22px clamp(16px, 3vw, 28px) 24px; min-width: 0; }
.mail__h { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.mail__from { display: flex; align-items: center; gap: 10px; margin: 12px 0 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.mail__av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e1e6ee; font-size: 11.5px; font-weight: 700; color: #22364f; }
.mail__muted { color: var(--muted); }
.mail__msg { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.draft {
  margin-top: 18px; padding: 14px 16px 14px; border-radius: 14px;
  background: linear-gradient(180deg, #f3faf7, #fbfdfc 70%);
  box-shadow: inset 0 0 0 1px rgba(14, 122, 95, .26), 0 0 0 4px rgba(14, 122, 95, .05);
}
.draft__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.draft__who b { color: var(--ink); }
.draft__state { margin-left: auto; }
.draft__state > span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.draft__state-a { background: var(--amber-soft); color: var(--amber); }
.draft__state-a i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-dot); animation: pulse 1.6s ease-in-out infinite; }
.draft__state-b { display: none !important; background: var(--accent-soft); color: var(--accent); }
.draft__state-b svg { width: 12px; height: 12px; }
.draft.is-sent .draft__state-a { display: none; }
.draft.is-sent .draft__state-b { display: inline-flex !important; }
.draft.is-sent { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--white); }
.draft__body { margin: 10px 0 12px; font-size: 14px; line-height: 1.55; color: var(--ink); min-height: 4.65em; }
.draft__sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-weight: 500; }
.draft__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); transition: opacity .3s; }
.draft.is-sent .draft__actions { opacity: .4; animation: none; }
.mbtn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: transform .15s, background-color .2s; }
.mbtn--primary { background: var(--accent); color: #fff; box-shadow: none; }
.draft__note { margin-left: auto; font-size: 11.5px; color: var(--muted); }
@media (max-width: 520px) { .draft__note { margin-left: 0; width: 100%; } }

/* ---------- (d) Routine ---------- */
.routine { width: 100%; max-width: 860px; display: grid; gap: 16px; align-items: start; }
@media (min-width: 760px) { .routine { grid-template-columns: 232px minmax(0, 1fr); gap: 20px; } }
.rcfg { padding: 20px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0, 0, 0, .04); }
.rcfg__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.rcfg__icon svg { width: 20px; height: 20px; }
.rcfg__name { margin: 14px 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge svg { width: 13px; height: 13px; flex: none; }
.badge--soft { background: rgba(29, 29, 31, .05); color: var(--ink-2); font-weight: 500; }
.rcfg__list { margin-top: 16px; }
.rcfg__list > div { padding: 10px 0; border-top: 1px solid var(--line); }
.rcfg__list dt { font-size: 11.5px; color: var(--muted); }
.rcfg__list dd { margin-top: 2px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.rcfg__status > span { display: inline-flex; align-items: center; gap: 7px; }
.rcfg__status .spinner { color: var(--accent); width: 11px; height: 11px; }
.rcfg__status-a { display: none !important; }
.rcfg__status.is-running .rcfg__status-a { display: inline-flex !important; }
.rcfg__status.is-running .rcfg__status-b { display: none !important; }
.rcfg__ok { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }

@media (max-width: 759px) {
  .rcfg { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px 6px; }
  .rcfg__icon { grid-row: span 2; }
  .rcfg__name { margin: 0 0 4px; }
  .rcfg .badge { justify-self: start; }
  .rcfg__list { grid-column: 1 / -1; display: flex; gap: 20px; margin-top: 12px; border-top: 1px solid var(--line); }
  .rcfg__list > div { border-top: 0; }
  .rcfg__list > div:first-child { display: none; }
}
.digest { padding: 20px 22px 22px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-mock), 0 0 0 1px rgba(0, 0, 0, .04); min-width: 0; }
.digest__head { display: flex; align-items: center; gap: 10px; }
.digest__who { display: flex; flex-direction: column; line-height: 1.25; }
.digest__who b { font-size: 14px; }
.digest__who span { font-size: 12px; color: var(--muted); }
.digest__head .badge { margin-left: auto; }
.digest__title { margin: 16px 0 4px; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.digest__sec { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.digest__h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.digest__h span { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: rgba(29, 29, 31, .055); color: var(--muted); }
.digest__sec ul { margin-top: 9px; display: grid; gap: 8px; }
.digest__sec li { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.digest__sec li b { color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 2px; }
.digest__sec time { flex: none; width: 40px; font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.d { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #c7c7cc; transform: translateY(-1px); }
.d--amber { background: var(--amber-dot); }
.box { flex: none; width: 15px; height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #c7c7cc; transform: translateY(2px); display: grid; place-items: center; color: #fff; }
.box svg { width: 11px; height: 11px; }
.box--done { background: var(--accent); box-shadow: none; }
.digest__sec li.is-done span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(110, 110, 115, .5); }
.digest__foot { margin-top: 16px; padding: 9px 12px; border-radius: 10px; background: rgba(29, 29, 31, .04); font-size: 12.5px; color: var(--muted); }

/* ---------- (e) Gallery ---------- */
.gallery { margin-top: clamp(112px, 13vw, 168px); }
.gallery__head { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.gallery__title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.gallery__text { margin-top: 12px; font-size: 17px; color: var(--muted); }
.agents { display: grid; gap: 16px; }
@media (min-width: 640px) { .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .agents { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.agent {
  display: flex; flex-direction: column;
  padding: 24px 24px 26px; border-radius: 24px; background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.agent:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0, 0, 0, .18); }
.agent__top { display: flex; justify-content: space-between; align-items: flex-start; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 9px; border-radius: 999px; background: rgba(29, 29, 31, .045); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); animation: ring 2.2s ease-out infinite; }
.agent__name { margin-top: 22px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.agent__role { margin-top: 2px; font-size: 14px; color: var(--muted); }
.agent__desc { margin: 14px 0 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 10px; border-radius: 999px; background: #f3f2ef; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.chips--light { margin-top: 16px; }
.chips--light li { background: var(--bg); font-size: 13.5px; padding: 5px 12px; }

/* ---------- What we do ---------- */
.services { border-top: 1px solid var(--line); }
.service { display: grid; gap: 10px; padding: clamp(28px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line); }
.service__title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.service__text { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 600px; }
@media (min-width: 820px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: baseline; }
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: 40px 32px; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 36px; height: 2px; background: var(--accent); border-radius: 2px; }
.step__num { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.step__title { margin-top: 14px; font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.step__text { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Use cases ---------- */
.cases { display: grid; gap: 16px; }
@media (min-width: 640px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case { padding: clamp(26px, 3vw, 34px); border-radius: 24px; background: var(--bg); }
.case__title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.case__text { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Why us ---------- */
.why { display: grid; gap: 48px 40px; }
@media (min-width: 600px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 56px; } }
.why__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.why__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why__title { margin-top: 20px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.why__text { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
@media (min-width: 940px) {
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 80px; align-items: start; }
  .faq__head { position: sticky; top: 120px; margin-bottom: 0; }
}
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 1.6vw, 19px); font-weight: 500; letter-spacing: -.015em; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: 4px; }
.qa__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(29, 29, 31, .05); transition: background-color .2s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa summary:hover .qa__icon { background: rgba(29, 29, 31, .09); }
.qa__a p { padding: 0 52px 26px 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.qa[open] .qa__a { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact__card {
  text-align: center; padding: clamp(56px, 8vw, 112px) clamp(22px, 6vw, 96px);
  border-radius: clamp(28px, 3vw, 40px); background: var(--white); box-shadow: 0 0 0 1px var(--line);
}
.contact__mark { display: inline-block; width: 52px; height: 52px; }
.contact__title { margin-top: 28px; font-size: clamp(36px, 5.6vw, 68px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.contact__text { margin: 20px auto 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.contact__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact { padding-top: clamp(72px, 9vw, 120px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }
.footer__legal { font-size: 13.5px; color: var(--muted); }
@media (max-width: 720px) { .footer__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- 404 ---------- */
.error { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: grid; place-items: center; text-align: center; padding: 64px 0 96px; }
.error__code { font-size: 15px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.error__title { margin-top: 14px; font-size: clamp(40px, 6.4vw, 76px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.error__text { margin: 20px auto 0; max-width: 480px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.error__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- Mobile mockup tuning ---------- */
@media (max-width: 560px) {
  .phone { height: 620px; border-radius: 50px; }
  .phone__screen { border-radius: 41px; }
  .row { grid-template-columns: 30px minmax(0, 1fr) 56px; gap: 10px; padding: 10px; }
  .row__thumb { width: 30px; height: 30px; }
  .row__badge { display: none; }
  .portal__main { padding: 14px; }
  .portal__nav { padding: 10px 14px; }
  .portal__ship { display: none; }
  .portal__total { margin-left: 0; text-align: left; }
  .portal__submit { margin-left: auto; }
  .win__bar { gap: 10px; padding: 0 12px; }
  .win__dots i { width: 9px; height: 9px; }
  .addr { font-size: 11.5px; }
  .digest { padding: 18px 16px 18px; }
  .digest__head .badge { display: none; }
  .hero-stage { height: 600px; }
  .note__card { padding: 12px 14px; border-radius: 20px; }
  .note__text { font-size: 14px; }
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-delay="1"] { transition-delay: .08s; }
.js [data-delay="2"] { transition-delay: .16s; }
.js [data-delay="3"] { transition-delay: .24s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .spinner, .is-running .toolchip__icon { animation: none !important; border-right-color: currentColor; opacity: .5; }
}

/* ---------- Print ---------- */
@media print {
  .header, .skip-link, .tabs, .cursor { display: none !important; }
  .panel[hidden] { display: grid !important; }
  body { background: #fff; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
