.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .92rem; font-weight: 500; transition: background-color .2s; }
.nav-links a:hover { background: rgb(255 255 255 / .6); }
.nav-end { display: flex; align-items: center; gap: 10px; }

.hero { position: relative; padding-block: 56px 0; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -90px 0 auto; height: 700px; z-index: -1;
  background:
    radial-gradient(46% 64% at 10% 70%, #f8cf96 0, transparent 72%),
    radial-gradient(42% 58% at 38% 94%, #fbe56f 0, transparent 72%),
    radial-gradient(44% 60% at 66% 80%, #b3e2c8 0, transparent 74%),
    radial-gradient(50% 74% at 100% 46%, #a2d5ea 0, transparent 72%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; padding-inline: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .85); font-size: .85rem; font-weight: 500; color: var(--ink-2); box-shadow: 0 1px 0 rgb(20 20 40 / .04); }
.pill .orb { width: 22px; height: 22px; }
.hero h1 { margin: 26px auto 0; max-width: 15ch; font-size: clamp(2.5rem, 7.2vw, 5.1rem); line-height: var(--lh-d); font-weight: 500; white-space: pre-line; }
[dir="rtl"] .hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
.hero .sub { margin: 22px auto 0; max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.cta { margin-top: 34px; display: grid; justify-items: center; gap: 12px; min-height: 90px; }
.cta .gsi { min-height: 44px; display: grid; place-items: center; }
.cta .fine { font-size: .82rem; color: var(--muted); }
.dev { display: flex; gap: 8px; align-items: center; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.dev input { border: 0; outline: 0; background: transparent; padding: 0 14px; min-width: 190px; }

/* Product preview */
.preview { padding-top: 56px; }
.mock { position: relative; margin: 0 auto; width: min(980px, 100%); padding: 14px; border-radius: var(--r-xl); background: rgb(238 239 248 / .82); box-shadow: var(--shadow); text-align: start; }
.mock-win { display: grid; grid-template-columns: 64px 1fr; background: #fff; border-radius: 24px; overflow: hidden; min-height: 460px; }
.mock-rail { display: grid; align-content: start; justify-items: center; gap: 14px; padding: 20px 0; background: var(--lav-3); color: var(--muted); }
.mock-rail span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.mock-rail .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(20 20 40 / .12); }
.mock-main { padding: 28px clamp(16px, 4vw, 44px) 24px; display: grid; gap: 22px; align-content: start; }
.mock-hello { display: flex; align-items: center; gap: 18px; }
.mock-hello .orb { width: 58px; height: 58px; }
.mock-hello h2 { font-size: 1.55rem; line-height: 1.3; }
.mock-hello p { color: var(--muted); }
.mock-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mc { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 124px; padding: 20px 22px; border-radius: 20px; background: var(--lav); }
.mc h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.mc p { margin-top: 4px; font-size: .78rem; color: var(--muted); max-width: 20ch; line-height: 1.5; }
.mc .art { flex: none; display: grid; place-items: center; }
.qr-art { width: 76px; height: 76px; padding: 6px; background: #fff; border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 6px 14px -8px rgb(20 20 40 / .4); }
.avs { display: flex; flex-direction: column; gap: 6px; }
.avs div { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; padding-inline: 4px 12px; border-radius: 999px; background: #fff; font-size: .74rem; font-weight: 500; box-shadow: 0 4px 10px -6px rgb(20 20 40 / .35); }
.avs i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: .68rem; font-weight: 600; background: var(--peach); }
.avs div:nth-child(2) i { background: var(--mint); } .avs div:nth-child(3) i { background: var(--sky); }
.bubble { position: relative; max-width: 150px; padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: #d9fdd3; color: #0c3b1d; font-size: .74rem; line-height: 1.5; box-shadow: 0 6px 14px -8px rgb(20 80 40 / .5); }
[dir="rtl"] .bubble { border-radius: 14px 14px 14px 4px; }
.ticks { display: grid; gap: 6px; font-size: .74rem; font-weight: 500; }
.ticks div { display: flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #fff; box-shadow: 0 4px 10px -6px rgb(20 20 40 / .35); }
.ticks .icon { width: 14px; height: 14px; color: var(--ok); }
.mock-prompt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; padding-inline: 20px 8px; border-radius: 999px; background: var(--lav-3); color: var(--muted); font-size: .88rem; }
.mock-prompt b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; }
.mock-prompt b .icon { width: 17px; height: 17px; }
.sample-tag { position: absolute; inset-block-start: -13px; inset-inline-end: 28px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 40px 0; padding-block: 8px; border-block: 1px solid var(--line); }
.feat { display: flex; gap: 14px; align-items: flex-start; padding: 8px 28px; text-align: start; }
.feat + .feat { border-inline-start: 1px solid var(--line); }
.feat .ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--peach); }
.feat:nth-child(2) .ico { background: var(--lav-2); } .feat:nth-child(3) .ico { background: var(--mint); }
.feat h3 { font-size: .98rem; font-weight: 600; letter-spacing: 0; }
.feat p { font-size: .88rem; color: var(--ink-2); margin-top: 4px; }

.section { padding-block: 120px 0; text-align: center; }
.section > .chip { background: #fff; border: 1px solid var(--line); padding: 5px 14px; font-size: .82rem; }
.section h2 { margin: 22px auto 0; max-width: 18ch; font-size: clamp(2rem, 5vw, 3.6rem); line-height: var(--lh-d); }
.steps-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; text-align: start; align-items: stretch; }
.step-list { display: grid; gap: 10px; align-content: center; margin: 0; padding: 0; list-style: none; }
.step { display: flex; gap: 14px; width: 100%; padding: 20px 22px; border: 0; border-radius: 22px; background: transparent; text-align: start; cursor: pointer; color: var(--muted); transition: background-color .25s, color .25s; }
.step:hover { color: var(--ink); }
.step .icon { margin-top: 3px; }
.step strong { display: block; font-size: 1.2rem; font-weight: 500; color: inherit; letter-spacing: var(--track); }
.step span.d { display: none; margin-top: 6px; font-size: .9rem; color: var(--ink-2); }
.step[aria-selected="true"] { background: var(--butter); color: var(--ink); }
.step[aria-selected="true"] span.d { display: block; }
.stage { position: relative; min-height: 440px; border-radius: var(--r-xl); background: var(--lav); overflow: hidden; display: grid; place-items: center; padding: 28px; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgb(255 241 166 / .6), transparent 70%), radial-gradient(50% 50% at 10% 100%, rgb(191 227 239 / .7), transparent 70%); }
.scene { position: relative; width: min(380px, 100%); display: none; }
.scene.on { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card-w { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; text-align: start; }
.fake-in { display: block; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: .9rem; color: var(--ink-2); background: #fff; }
.fake-in small { display: block; font-size: .72rem; color: var(--muted); }
.fake-btn { display: grid; place-items: center; min-height: 44px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: .92rem; }
.qr-big { width: 190px; margin-inline: auto; padding: 12px; background: #fff; border-radius: 18px; }
.qr-cap { text-align: center; font-weight: 500; }
.qr-sub { text-align: center; font-size: .82rem; color: var(--muted); margin-top: -6px; }
.phone-fr { width: 250px; margin-inline: auto; padding: 18px 16px 22px; background: #fff; border-radius: 34px; box-shadow: var(--shadow), inset 0 0 0 6px #f0f0f5; display: grid; gap: 12px; text-align: center; }
.phone-fr .orb { margin-inline: auto; width: 44px; height: 44px; }
.ok-big { font-size: 2rem; line-height: 1; }
.chat { display: grid; gap: 8px; padding: 14px; background: #fff; border-radius: 26px; box-shadow: var(--shadow); }
.chat-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; text-align: start; }
.chat-row:first-child { background: var(--lav-3); }
.chat-row i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-weight: 600; background: var(--peach); }
.chat-row:nth-child(2) i { background: var(--mint); } .chat-row:nth-child(3) i { background: var(--sky); }
.chat-row b { display: block; font-size: .9rem; font-weight: 600; }
.chat-row span { font-size: .8rem; color: var(--muted); }
.chat-row em { margin-inline-start: auto; font-style: normal; font-size: .74rem; color: var(--muted); }
.wa-badge { position: absolute; inset-block-end: -22px; inset-inline-end: -14px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 24px -10px rgb(20 120 60 / .6); }
.wa-badge .icon { width: 30px; height: 30px; }

.safe { margin-top: 120px; border-radius: var(--r-xl); padding: 76px clamp(20px, 5vw, 56px) 56px; text-align: center; color: #fff;
  background: radial-gradient(70% 60% at 50% 0, #e8f3f8 0, transparent 70%), linear-gradient(180deg, #cfe5ef 0%, #8eb0c6 34%, #4b6479 70%, #36495b 100%); }
.safe .chip { background: rgb(255 255 255 / .75); color: var(--ink); }
.safe h2 { margin: 22px auto 0; font-size: clamp(2rem, 5vw, 3.6rem); line-height: var(--lh-d); color: var(--ink); }
.safe-grid { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: start; }
.safe-card { padding: 28px; border-radius: 28px; background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); }
.safe-card .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.safe-card h3 { margin-top: 36px; font-size: 1.25rem; font-weight: 500; }
.safe-card p { margin-top: 8px; font-size: .92rem; color: #eaf1f6; }

.final { padding-block: 120px 40px; text-align: center; }
.final h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: var(--lh-d); max-width: 20ch; margin-inline: auto; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px 40px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); margin-top: 60px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .features { grid-template-columns: 1fr; gap: 6px; }
  .feat + .feat { border-inline-start: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .stage { min-height: 400px; }
  .safe-grid { grid-template-columns: 1fr; margin-top: 90px; }
  .section { padding-top: 84px; } .safe { margin-top: 84px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .mock-win { grid-template-columns: 1fr; } .mock-rail { display: none; }
  .mock-cards { grid-template-columns: 1fr; }
  .mock { padding: 8px; border-radius: 26px; }
  .nav .btn-sm.hide-sm { display: none; }
}

/* ---- Sign-in dialog ---- */
.btn-lg { min-height: 54px; padding: 0 34px; font-size: 1.02rem; }
.signin { width: min(440px, calc(100vw - 24px)); overflow: hidden; }
.si-x { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--lav); color: var(--ink); cursor: pointer; transition: background-color .2s; }
.si-x:hover { background: var(--lav-2); }
.si-x .icon { width: 18px; height: 18px; }
.si { display: grid; padding: 48px 28px 26px; }
.si-step { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; justify-items: center; text-align: center; transition: opacity .28s var(--ease), transform .45s var(--ease), visibility 0s; }
.si-step > * { min-width: 0; }
.si-step > :not(.si-orb) { width: 100%; }
.si[data-step="email"] #siStepCode { opacity: 0; visibility: hidden; transform: translateX(34px); transition: opacity .28s var(--ease), transform .45s var(--ease), visibility 0s .3s; }
.si[data-step="code"] #siStepEmail { opacity: 0; visibility: hidden; transform: translateX(-34px); transition: opacity .28s var(--ease), transform .45s var(--ease), visibility 0s .3s; }
[dir="rtl"] .si[data-step="email"] #siStepCode { transform: translateX(-34px); }
[dir="rtl"] .si[data-step="code"] #siStepEmail { transform: translateX(34px); }
.si-orb { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--butter), var(--mint) 55%, var(--sky)); }
.si-orb .icon { width: 26px; height: 26px; }
.si h2 { margin: 4px 0 0; font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
.si-sub { margin: 0; color: var(--ink-2); text-wrap: balance; min-height: 1.4em; }
.si-form { display: grid; gap: 12px; text-align: start; margin-top: 6px; }
.si-or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: var(--muted); font-size: .82rem; }
.si-or::before, .si-or::after { content: ""; height: 1px; background: var(--line); }
.si-g { display: grid; place-items: center; min-height: 44px; }
.si-code-input { min-height: 68px; text-align: center; direction: ltr; font-size: 2rem; font-weight: 600; letter-spacing: .5em; padding-inline: .5em 0; font-variant-numeric: tabular-nums; }
.si-code-input::placeholder { color: #c9c9d6; }
.si-hint { margin: 0; font-size: .82rem; color: var(--muted); }
.si-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.shake { animation: shake .38s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@media (prefers-reduced-motion: reduce) { .si-step, .si[data-step] .si-step { transition: none !important; } .shake { animation: none; } }
#siEmail { text-align: left; }

/* WhatsApp mark on the sample message bubble: physical bottom-left */
.wa-ico { position: absolute; left: -10px; bottom: -12px; width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 4px 10px -3px rgb(20 80 40 / .5); }
