:root {
  --night: #101013;
  --paper: #f4f4f0;
  --ink: #111114;
  --muted: #aaa9b0;
  --purple: #9e7cff;
  --purple-bright: #b59aff;
  --green: #79d19a;
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-light: rgba(23, 19, 29, 0.14);
  --serif: Iowan Old Style, Baskerville, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--purple); color: var(--night); }
.shell { width: min(100% - 48px, 1380px); margin-inline: auto; }

.site-header { height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 10; border-bottom: 1px solid var(--line-dark); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-size: 1.08rem; font-weight: 600; letter-spacing: -.025em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-header nav { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: .88rem; }
.site-header nav a, .footer a { transition: color .25s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible, .footer a:hover, .footer a:focus-visible { color: var(--paper); }
.nav-cta { justify-self: end; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid var(--line-dark); border-radius: 10px; font-size: .82rem; }
.nav-cta span { transition: transform .25s ease; }
.nav-cta:hover span { transform: translate(2px, -2px); }

.hero { min-height: calc(100svh - 82px); display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(430px, .86fr); position: relative; }
.hero-index { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 34px 0; color: #6d6a73; font-size: .67rem; letter-spacing: .14em; }
.hero-index span:last-child { writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 78px clamp(38px, 5vw, 82px); }
.eyebrow, .section-label { margin: 0; text-transform: uppercase; letter-spacing: .19em; font-size: .71rem; font-weight: 600; color: var(--purple-bright); }
.hero h1 { margin: 28px 0 31px; max-width: 710px; font-family: var(--serif); font-size: clamp(4.2rem, 6.8vw, 7.35rem); font-weight: 400; line-height: .86; letter-spacing: -.065em; }
h1 em, h2 em { font-weight: 400; color: var(--purple-bright); }
.hero-intro { max-width: 585px; margin: 0; color: #c3bdcb; font-size: clamp(1.02rem, 1.45vw, 1.18rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 36px; }
.primary-button { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 9px; background: var(--paper); color: var(--ink); border-radius: 13px; transition: transform .2s ease, background .2s ease; }
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); background: white; }
.app-store-icon { width: 41px; height: 41px; border-radius: 10px; }
.primary-button > span:last-child { display: flex; flex-direction: column; font-size: 1.05rem; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.primary-button small { margin-bottom: 3px; font-size: .63rem; font-weight: 400; letter-spacing: .01em; }
.quiet-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.25); color: #d0c9d9; font-size: .86rem; }
.quiet-link span { transition: transform .25s ease; }
.quiet-link:hover span { transform: translateY(3px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 36px; color: #8f8998; font-size: .78rem; }
.trust-row > span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row b { color: var(--green); font-weight: 400; }
.hero-aside { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 6vw, 90px); }
.hero-aside h2 { margin: 24px 0; font-family: var(--serif); font-size: clamp(2.7rem, 4.2vw, 4.9rem); font-weight: 400; line-height: .93; letter-spacing: -.05em; }
.hero-aside > p:not(.section-label) { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.hero-aside .quiet-link { width: fit-content; margin-top: 36px; }

.section-rule { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.intro-section { padding: clamp(90px, 11vw, 145px) 0; background: #eeeeea; color: var(--ink); }
.intro-section .section-label { color: #6548d8; }
.intro-grid h2 { max-width: 820px; margin: 22px 0 0; font-family: var(--serif); font-size: clamp(3.2rem, 5.8vw, 6.2rem); font-weight: 400; line-height: .93; letter-spacing: -.055em; }
.intro-grid h2 em { color: #6548d8; }
.intro-copy > p:last-child { max-width: 620px; margin: 34px 0 0; color: #5d5962; font-size: 1.03rem; line-height: 1.75; }

.features { padding: clamp(100px, 12vw, 165px) 0; }
.section-heading { display: grid; grid-template-columns: 1.7fr .7fr; align-items: end; gap: 70px; margin-bottom: 56px; }
.section-heading h2 { margin: 19px 0 0; font-family: var(--serif); font-size: clamp(2.7rem, 4.5vw, 5rem); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.feature-card { min-height: 300px; display: flex; flex-direction: column; padding: clamp(25px, 3vw, 39px); border: 1px solid var(--line-dark); border-radius: 18px; background: #17171b; transition: border-color .2s ease, transform .2s ease; grid-column: span 4; }
.feature-card:nth-child(1), .feature-card:nth-child(4) { grid-column: span 7; }
.feature-card:nth-child(2), .feature-card:nth-child(3) { grid-column: span 5; }
.feature-card:nth-child(5), .feature-card:nth-child(6) { grid-column: span 6; }
.feature-card:hover { border-color: rgba(181,154,255,.48); transform: translateY(-2px); }
.feature-meta { display: flex; align-items: center; justify-content: space-between; color: #615b6b; font-size: .72rem; }
.feature-icon { color: var(--purple); font-size: 1.8rem; font-weight: 300; line-height: 1; }
.feature-card:nth-child(2) .feature-icon { color: #2e9fe9; }
.feature-card:nth-child(3) .feature-icon { color: #e88339; }
.feature-card:nth-child(4) .feature-icon { color: #68c989; }
.feature-card:nth-child(5) .feature-icon { color: #e76878; }
.feature-card h3 { max-width: 430px; margin: auto 0 20px; font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.55rem); font-weight: 400; line-height: 1.03; letter-spacing: -.03em; }
.feature-card p { max-width: 410px; margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.65; }

.context-section { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); color: var(--ink); }
.context-copy { max-width: 1040px; }
.context-copy .section-label { color: #7054d6; }
.context-copy h2 { margin: 20px 0 26px; font-family: var(--serif); font-size: clamp(3.1rem, 5vw, 5.7rem); font-weight: 400; line-height: .95; letter-spacing: -.05em; }
.context-copy > p { max-width: 590px; margin: 0; color: #615b67; font-size: 1.02rem; line-height: 1.75; }
.context-copy ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 32px 0 0; margin: 42px 0 0; border-top: 1px solid var(--line-light); }
.context-copy li { display: flex; align-items: flex-start; gap: 13px; font-size: .92rem; line-height: 1.5; }
.context-copy li span { color: #7259d9; font-size: 1.15rem; }

.philosophy { padding: clamp(110px, 13vw, 180px) 0; }
.philosophy-heading { display: grid; grid-template-columns: .7fr 2.3fr; gap: 7vw; margin-bottom: 65px; }
.philosophy-heading h2 { max-width: 880px; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5.4vw, 5.8rem); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.principles { margin-left: min(20vw, 270px); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; background: #17171b; }
.principles article { display: grid; grid-template-columns: 70px 1fr 1.1fr; gap: 30px; align-items: center; padding: 31px 34px; border-bottom: 1px solid var(--line-dark); }
.principles article:last-child { border-bottom: 0; }
.principles article > span { color: #5f5868; font-size: .74rem; }
.principles h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.7rem); font-weight: 400; line-height: 1; }
.principles p { max-width: 470px; margin: 2px 0 0; color: var(--muted); line-height: 1.7; }

.privacy-section { padding: clamp(100px, 12vw, 165px) 0; background: #eeeeea; color: var(--ink); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.privacy-grid { display: grid; grid-template-columns: .45fr 1.5fr .85fr; gap: 5vw; align-items: start; }
.privacy-mark { width: 92px; height: 92px; display: grid; place-items: center; background: #17171b; color: #82d89e; border-radius: 22px; font-size: 2rem; }
.privacy-section .section-label { color: #6548d8; }
.privacy-section h2 { margin: 20px 0 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; line-height: .95; letter-spacing: -.05em; }
.privacy-section h2 em { color: #6548d8; }
.privacy-copy { padding-top: 36px; }
.privacy-copy p { margin: 0 0 34px; color: #5d5962; line-height: 1.75; }
.quiet-link.light { color: var(--ink); border-bottom-color: rgba(23,19,29,.3); }
.quiet-link.light:hover span { transform: translate(2px,-2px); }

.closing-section { background: #30313a; color: white; }
.closing-inner { min-height: 760px; display: grid; grid-template-columns: .65fr 1.35fr; }
.closing-stamp { padding: 52px 42px; display: flex; flex-direction: column; justify-content: space-between; }
.closing-stamp img { width: 92px; height: 92px; border-radius: 23px; }
.closing-stamp > span { font-size: .66rem; letter-spacing: .14em; writing-mode: vertical-rl; transform: rotate(180deg); }
.closing-copy { padding: clamp(85px, 10vw, 135px) clamp(40px, 7vw, 100px); align-self: center; }
.closing-section .section-label { color: #c9c4d8; }
.closing-inner h2 { margin: 20px 0 28px; font-family: var(--serif); font-size: clamp(3.8rem, 6.6vw, 7.2rem); font-weight: 400; line-height: .88; letter-spacing: -.055em; }
.closing-inner h2 em { color: #d2c9ee; }
.closing-copy > p:not(.section-label) { margin: 0; color: #c9c7d0; }
.closing-actions { display: flex; align-items: center; gap: 14px; margin-top: 35px; }
.secondary-button { min-height: 58px; display: inline-flex; align-items: center; gap: 10px; padding: 0 21px; border: 1px solid rgba(255,255,255,.35); border-radius: 15px; font-size: .87rem; }
.secondary-button > span { font-size: 1.1rem; }

.footer { min-height: 105px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line-dark); color: #797281; font-size: .78rem; }
.footer .brand { color: var(--paper); }
.footer p { margin: 0; }
.footer p a { color: #aaa4b6; }
.footer > div { justify-self: end; display: flex; gap: 25px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 72px 1fr; }
  .hero-index { grid-row: 1 / 3; }
  .hero-copy { grid-column: 2; max-width: 820px; }
  .hero-aside { grid-column: 2; }
  .feature-card, .feature-card:nth-child(n) { grid-column: span 6; }
  .privacy-grid { grid-template-columns: 110px 1fr; }
  .privacy-copy { grid-column: 2; max-width: 660px; padding-top: 0; }
  .principles { margin-left: 70px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 650px); }
  .site-header { height: 78px; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 31px; height: 31px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-index { display: none; }
  .hero-copy { grid-column: 1; padding: 80px 20px 60px; }
  .hero h1 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { gap: 12px 17px; }
  .hero-aside { grid-column: 1; padding: 70px 20px; }
  .philosophy-heading { grid-template-columns: 1fr; gap: 55px; }
  .intro-grid h2, .philosophy-heading h2 { font-size: clamp(3rem, 13vw, 5rem); }
  .section-heading { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(n) { grid-column: 1; }
  .feature-card { min-height: 290px; }
  .context-copy ul { grid-template-columns: 1fr; gap: 18px; }
  .principles { margin-left: 0; }
  .principles article { grid-template-columns: 45px 1fr; gap: 20px; }
  .principles p { grid-column: 2; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-mark { width: 70px; height: 70px; }
  .privacy-section h2 { font-size: clamp(3rem, 13vw, 5rem); }
  .privacy-copy { grid-column: 1; }
  .closing-inner { min-height: 700px; grid-template-columns: 1fr; }
  .closing-stamp { min-height: 140px; padding: 25px; flex-direction: row; align-items: center; }
  .closing-stamp img { width: 72px; height: 72px; border-radius: 18px; }
  .closing-stamp > span { writing-mode: initial; transform: none; }
  .closing-copy { padding: 85px 25px; }
  .closing-inner h2 { font-size: clamp(3.6rem, 16vw, 6rem); }
  .closing-actions { align-items: flex-start; flex-direction: column; }
  .secondary-button, .closing-actions .primary-button { width: min(100%, 235px); justify-content: center; }
  .footer { grid-template-columns: 1fr auto; }
  .footer p { display: none; }
}

@media (max-width: 420px) {
  .nav-cta { padding: 9px 12px; font-size: .75rem; }
  .hero h1 { font-size: 3.65rem; }
  .intro-grid h2, .philosophy-heading h2, .context-copy h2, .privacy-section h2 { font-size: 2.9rem; }
  .feature-card { min-height: 265px; }
  .closing-inner h2 { font-size: 3.5rem; }
}

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