:root {
  color-scheme: light dark;
  --page: min(1120px, calc(100vw - 48px));
  --narrow: min(760px, calc(100vw - 48px));
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-strong: #ffffff;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --tertiary: #86868b;
  --line: rgba(0, 0, 0, .12);
  --line-soft: rgba(0, 0, 0, .07);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --header: rgba(255, 255, 255, .82);
  --shadow: 0 24px 80px rgba(0, 0, 0, .12);
  --device-bg: #eef1f5;
  --device-sidebar: rgba(255, 255, 255, .72);
  --device-card: #ffffff;
  --dark-section: #000000;
  --dark-text: #f5f5f7;
  --dark-secondary: #a1a1a6;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-strong: #161617;
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --tertiary: #8e8e93;
    --line: rgba(255, 255, 255, .16);
    --line-soft: rgba(255, 255, 255, .09);
    --blue: #2997ff;
    --blue-hover: #40a9ff;
    --header: rgba(0, 0, 0, .78);
    --shadow: 0 28px 90px rgba(0, 0, 0, .5);
    --device-bg: #111214;
    --device-sidebar: rgba(40, 40, 42, .72);
    --device-card: #242426;
    --dark-section: #101010;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .7rem 1rem; color: #fff; background: #000; border-radius: 999px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 70%, transparent); outline-offset: 3px; }

.site-header { position: sticky; z-index: 20; top: 0; height: 52px; border-bottom: 1px solid var(--line-soft); background: var(--header); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.header-inner { width: var(--page); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; font-size: 1rem; font-weight: 650; letter-spacing: -.02em; }
.brand img { width: 25px; height: 20px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 2rem; color: var(--secondary); font-size: .78rem; }
.site-nav a, .header-link, .footer-links a { transition: color .2s ease; }
.site-nav a:hover, .header-link:hover, .site-footer a:hover { color: var(--blue); }
.header-link { justify-self: end; color: var(--blue); font-size: .78rem; }

.hero { padding: 112px 24px 96px; text-align: center; overflow: hidden; }
.hero-copy { max-width: 900px; margin: 0 auto; }
.app-icon { width: 88px; height: auto; margin-bottom: 28px; filter: drop-shadow(0 14px 24px rgba(0, 113, 227, .16)); }
.kicker { margin: 0 0 1rem; color: var(--blue); font-size: 1.06rem; font-weight: 650; letter-spacing: -.01em; }
h1, h2, h3, p { text-wrap: pretty; }
.hero h1 { margin: 0; font-size: clamp(3.5rem, 8.5vw, 7.6rem); line-height: .94; letter-spacing: -.065em; font-weight: 670; }
.hero h1 span { color: var(--secondary); }
.hero-intro { max-width: 700px; margin: 2rem auto 0; color: var(--secondary); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; letter-spacing: -.018em; }
.hero-actions { margin-top: 2.1rem; display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.button { min-height: 46px; padding: .75rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 500; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-hover); }
.button-secondary { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 38%, transparent); }
.button-secondary:hover { background: color-mix(in srgb, var(--blue) 7%, transparent); }

.product-window { width: min(1040px, calc(100vw - 48px)); margin: 92px auto 0; text-align: left; border: 1px solid var(--line); border-radius: 26px; background: var(--device-bg); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { height: 46px; padding: 0 18px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line-soft); background: color-mix(in srgb, var(--surface-strong) 72%, transparent); }
.window-bar > span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.window-bar strong { position: absolute; left: 50%; color: var(--tertiary); font-size: .72rem; font-weight: 500; transform: translateX(-50%); }
.window-content { min-height: 560px; display: grid; grid-template-columns: 210px 1fr; }
.preview-sidebar { padding: 28px 18px; border-right: 1px solid var(--line-soft); background: var(--device-sidebar); }
.preview-brand { margin-bottom: 36px; display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 650; }
.preview-brand img { width: 29px; }
.sidebar-item { padding: 10px 12px; display: block; color: var(--secondary); border-radius: 9px; font-size: .78rem; }
.sidebar-item.active { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); font-weight: 550; }
.preview-main { padding: 50px; }
.preview-heading { display: flex; align-items: end; justify-content: space-between; }
.preview-heading small { color: var(--tertiary); font-size: .62rem; letter-spacing: .08em; }
.preview-heading h2 { margin: .4rem 0 0; font-size: 2.2rem; letter-spacing: -.045em; }
.add-button { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--blue); font-size: 1.35rem; }
.document-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.document-card { position: relative; min-height: 220px; padding: 24px; color: var(--text); border: 1px solid var(--line-soft); border-radius: 20px; background: var(--device-card); box-shadow: 0 12px 35px rgba(0,0,0,.06); overflow: hidden; }
.document-card.featured { color: #fff; border-color: transparent; background: linear-gradient(145deg, #1480df, #164981); }
.document-top, .document-card footer { display: flex; align-items: center; justify-content: space-between; font-size: .57rem; font-weight: 650; letter-spacing: .08em; }
.document-top i { width: 23px; height: 17px; border: 1px solid currentColor; border-radius: 4px; opacity: .7; }
.document-person { margin-top: 34px; display: flex; align-items: center; gap: 14px; }
.document-person > b { width: 58px; height: 68px; border-radius: 14px; background: color-mix(in srgb, currentColor 18%, transparent); }
.document-person small, .document-person span { display: block; color: color-mix(in srgb, currentColor 63%, transparent); font-size: .52rem; letter-spacing: .05em; }
.document-person strong { margin: 6px 0 9px; display: block; font-size: .84rem; }
.document-card footer { position: absolute; left: 24px; right: 24px; bottom: 20px; color: color-mix(in srgb, currentColor 68%, transparent); letter-spacing: 0; font-weight: 450; }
.security-note { margin-top: 18px; padding: 15px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line-soft); border-radius: 14px; background: color-mix(in srgb, var(--surface-strong) 78%, transparent); }
.security-note > span { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: #34c759; font-size: .75rem; }
.security-note strong, .security-note small { display: block; }
.security-note strong { font-size: .78rem; }.security-note small { margin-top: 3px; color: var(--secondary); font-size: .65rem; }

.proof { width: var(--page); margin: 0 auto; padding: 58px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof p { margin: 0; font-size: 1.15rem; font-weight: 600; }
.proof div { display: flex; gap: 2rem; color: var(--secondary); font-size: .88rem; }
.proof span::before { content: "✓"; margin-right: .45rem; color: #34c759; font-weight: 700; }

.section { width: var(--page); margin: 0 auto; padding: 140px 0; }
.section-heading { max-width: 780px; }
.section-heading h2, .privacy-section h2, .closing h2 { margin: 0; font-size: clamp(2.8rem, 6.5vw, 5.7rem); line-height: .98; letter-spacing: -.058em; font-weight: 650; }
.section-heading > p:last-child { max-width: 680px; margin: 1.6rem 0 0; color: var(--secondary); font-size: 1.2rem; line-height: 1.5; }
.feature-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 420px; padding: 30px; display: flex; flex-direction: column; border-radius: 28px; background: var(--surface); }
.feature-number { color: var(--tertiary); font-size: .75rem; }
.feature-symbol { position: relative; width: 90px; height: 90px; margin: 64px auto; display: grid; place-items: center; color: var(--blue); }
.scan-symbol { border: 3px solid currentColor; border-radius: 22px; }
.scan-symbol i { width: 43px; height: 32px; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; }
.nfc-symbol i { position: absolute; border: 3px solid currentColor; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; }
.nfc-symbol i:nth-child(1) { width: 24px; height: 42px; }.nfc-symbol i:nth-child(2) { width: 48px; height: 66px; }.nfc-symbol i:nth-child(3) { width: 72px; height: 90px; }
.lock-symbol { width: 70px; height: 58px; margin-top: 84px; margin-bottom: 76px; border-radius: 15px; background: var(--blue); }
.lock-symbol i { position: absolute; width: 38px; height: 35px; top: -27px; border: 5px solid var(--blue); border-bottom: 0; border-radius: 22px 22px 0 0; }
.feature-card h3 { margin: auto 0 .7rem; font-size: 1.65rem; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--secondary); font-size: 1rem; line-height: 1.55; }

.privacy-section { color: var(--dark-text); background: var(--dark-section); }
.privacy-inner { width: var(--page); margin: 0 auto; padding: 150px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.privacy-section .kicker { color: #2997ff; }
.privacy-copy > p { margin: .2rem 0 2.5rem; color: var(--dark-secondary); font-size: 1.22rem; line-height: 1.58; }
.privacy-copy ul { margin: 0 0 2.3rem; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.privacy-copy li { padding: 22px 0; display: grid; grid-template-columns: 180px 1fr; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.privacy-copy li strong { font-size: .95rem; }.privacy-copy li span { color: var(--dark-secondary); font-size: .92rem; line-height: 1.5; }
.text-link { color: #2997ff; font-size: 1rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.ecosystem-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ecosystem-grid article { min-height: 280px; padding: 30px; border: 1px solid var(--line-soft); border-radius: 28px; background: var(--surface); }
.ecosystem-grid article > span, .platform-card div > span { color: var(--blue); font-size: .82rem; font-weight: 600; }
.ecosystem-grid h3 { margin: 4.5rem 0 .8rem; font-size: 1.7rem; letter-spacing: -.035em; }
.ecosystem-grid p { margin: 0; color: var(--secondary); line-height: 1.55; }
.ecosystem-grid .platform-card { grid-column: 1 / -1; min-height: 230px; display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 48px; background: var(--surface-strong); border-color: var(--line); }
.platform-card img { width: 130px; }
.platform-card h3 { max-width: 720px; margin: .8rem 0 0; font-size: clamp(2rem, 4vw, 3.5rem); }

.closing { padding: 150px 24px 160px; text-align: center; background: var(--surface); }
.closing > img { width: 104px; margin-bottom: 35px; filter: drop-shadow(0 18px 30px rgba(0, 113, 227, .16)); }
.closing p { margin: 1.5rem auto 2rem; color: var(--secondary); font-size: 1.2rem; }
.site-footer { width: var(--page); min-height: 112px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; color: var(--secondary); font-size: .76rem; }
.site-footer > p { text-align: center; }
.site-footer > div { display: flex; align-items: center; gap: 18px; }

/* Privacy policy */
.policy-header { position: sticky; }
.policy-header .header-inner { grid-template-columns: 1fr auto; }
.policy-home-link { color: var(--blue); font-size: .78rem; }
.policy-main { width: var(--page); margin: 0 auto; padding: 110px 0 120px; }
.policy-title { max-width: 850px; padding-bottom: 80px; }
.policy-title .kicker { margin-bottom: 1.1rem; }
.policy-title h1 { margin: 0; font-size: clamp(3.8rem, 8vw, 7rem); line-height: .95; letter-spacing: -.065em; }
.policy-date { margin: 1.5rem 0 0; color: var(--tertiary); font-size: .8rem; }
.policy-intro { max-width: 760px; margin: 2.2rem 0 0; color: var(--secondary); font-size: 1.2rem; line-height: 1.65; }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; gap: 80px; align-items: start; }
.policy-nav { position: sticky; top: 84px; max-height: calc(100vh - 110px); padding: 18px 0; display: flex; flex-direction: column; overflow-y: auto; border-top: 1px solid var(--line); }
.policy-nav > span { margin-bottom: .8rem; color: var(--tertiary); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.policy-nav a { padding: .5rem 0; color: var(--secondary); font-size: .84rem; }
.policy-nav a:hover { color: var(--blue); }
.policy-document { border-top: 1px solid var(--line); }
.policy-document section { position: relative; padding: 48px 0 52px 62px; scroll-margin-top: 80px; border-bottom: 1px solid var(--line); }
.policy-number { position: absolute; left: 0; top: 55px; color: var(--tertiary); font-size: .72rem; font-weight: 600; }
.policy-document h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.035em; }
.policy-document h2 small { margin-left: .45rem; color: var(--blue); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.policy-document p { margin: 0; color: var(--secondary); font-size: 1rem; line-height: 1.75; }
.policy-document section p + p { margin-top: 1.1rem; }
.policy-document strong { color: var(--text); }
.policy-contact { margin-top: 18px; padding: 34px !important; border: 0 !important; border-radius: 24px; background: var(--surface); }
.policy-contact .policy-number { position: static; display: block; margin-bottom: 1rem; }
.policy-contact > a { margin-top: 1.2rem; display: inline-block; color: var(--blue); font-weight: 600; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .window-content { grid-template-columns: 1fr; }.preview-sidebar { display: none; }
  .proof { align-items: flex-start; flex-direction: column; }.proof div { flex-wrap: wrap; }
  .feature-grid, .ecosystem-grid { grid-template-columns: 1fr 1fr; }.feature-card:last-child { grid-column: 1 / -1; }
  .privacy-inner { grid-template-columns: 1fr; gap: 50px; }
  .ecosystem-grid article:nth-child(3) { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr; padding: 34px 0; text-align: center; }.site-footer .brand, .site-footer > div { justify-self: center; }.site-footer > p { margin: 0; }
}

@media (max-width: 700px) {
  :root { --page: min(100% - 32px, 1120px); }
  .hero { padding: 82px 16px 72px; }.hero h1 { font-size: clamp(3.3rem, 16vw, 5rem); }.hero-intro { font-size: 1.15rem; }
  .app-icon { width: 74px; }.product-window { width: calc(100vw - 24px); margin-top: 62px; border-radius: 20px; }
  .window-content { min-height: 500px; }.preview-main { padding: 28px 20px; }.preview-heading h2 { font-size: 1.8rem; }
  .document-grid { grid-template-columns: 1fr; }.document-card { min-height: 205px; }.document-card:last-child { display: none; }
  .proof { padding: 40px 0; }.proof div { flex-direction: column; gap: .85rem; }
  .section { padding: 100px 0; }.section-heading h2, .privacy-section h2, .closing h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .feature-grid, .ecosystem-grid { grid-template-columns: 1fr; margin-top: 44px; }.feature-card:last-child, .ecosystem-grid article:nth-child(3) { grid-column: auto; }
  .feature-card { min-height: 390px; }.privacy-inner { padding: 100px 0; }.privacy-copy li { grid-template-columns: 1fr; gap: 8px; }
  .ecosystem-grid .platform-card { grid-column: auto; grid-template-columns: 1fr; gap: 20px; }.platform-card img { width: 90px; }.ecosystem-grid h3 { margin-top: 3.5rem; }.platform-card h3 { margin-top: .8rem; }
  .closing { padding: 105px 20px 115px; }.site-footer > div { flex-wrap: wrap; justify-content: center; }
  .policy-main { padding: 76px 0 90px; }.policy-title { padding-bottom: 54px; }.policy-title h1 { font-size: clamp(3.4rem, 16vw, 5rem); }.policy-intro { font-size: 1.06rem; }
  .policy-layout { grid-template-columns: 1fr; gap: 20px; }.policy-nav { display: none; }.policy-document section { padding: 42px 0 44px 42px; }.policy-number { top: 49px; }.policy-document h2 small { display: block; margin: .5rem 0 0; }
  .policy-contact { padding: 28px !important; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
