@font-face {
  font-family: Pangolin;
  src: url("assets/Pangolin-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --page: #f7f8f6;
  --ink: #222b2f;
  --muted: #637177;
  --frame: #dce3e5;
  --red: #fc3636;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--page); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
header, main, footer { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; margin-top: 24px; padding: 10px 12px 10px 18px; border: 1px solid #ffffff65; border-radius: 20px; background: #ffffff55; backdrop-filter: blur(20px); }
.brand { display: flex; align-items: center; gap: 10px; font-family: Pangolin, sans-serif; font-size: 24px; text-decoration: none; white-space: nowrap; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.top-links { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
.text-link { text-decoration: none; }
.text-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 12px 20px; background: var(--white); border-radius: 12px; text-decoration: none; }

.nav-donate { color: var(--white); background: #d92c2c; white-space: nowrap; }
.nav-donate:hover { background: #be2424; }

.sister-project { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 8px auto 0; padding: 14px 18px; color: var(--white); background: var(--red); border-radius: 16px; text-align: left; text-decoration: none; box-shadow: 0 10px 24px #fc363635; transition: transform .2s, background .2s; }
.sister-project:hover { transform: translateY(-2px); background: #e52e2e; }
.sister-project-icons { display: flex; flex: 0 0 auto; padding-left: 4px; }
.sister-project-icons img { width: 40px; height: 40px; border: 2px solid #ffffffb3; border-radius: 12px; box-shadow: 0 3px 8px #8d171733; }
.sister-project-icons img + img { margin-left: -10px; }
.sister-project-copy { display: grid; flex: 1; gap: 2px; }
.sister-project-label { color: #ffe0e0; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sister-project-copy strong { font-size: 16px; font-weight: 600; }
.sister-project-arrow { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; background: #ffffff26; border-radius: 12px; font-size: 22px; }

.hero { position: relative; isolation: isolate; padding-top: 74px; text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; top: -130px; bottom: 0; left: calc((100% - 100vw) / 2); width: 100vw; background: linear-gradient(180deg, #25537018, transparent 55%, #f7f8f6 100%), url("assets/sky.jpg") center bottom / cover; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: #244554; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(46px, 5.6vw, 76px); font-weight: 500; line-height: 1.06; letter-spacing: -.055em; }
.hero h1 { color: var(--white); text-shadow: 0 2px 16px #1d506525; }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { margin-bottom: 20px; font-size: clamp(36px, 4.5vw, 58px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.lead { margin-bottom: 24px; color: #2f5261; font-size: 16px; line-height: 1.65; }
.store-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; scroll-margin-top: 30px; }
.store-link { display: inline-flex; align-items: center; gap: 14px; padding: 14px 23px; color: var(--white); background: #20282b; border: 1px solid #20282b; border-radius: 13px; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px #18374615; transition: transform .2s; }
.store-link[href]:hover, .donate-link:hover { transform: translateY(-2px); }
.store-status { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; opacity: .8; }
.store-icon { display: block; width: 20px; height: 20px; flex-shrink: 0; }
.apple-icon { filter: invert(1); }
.store-link.secondary { background: #ffffffdf; border-color: #ffffff80; color: var(--ink); }
.note { margin: 13px 0 0; color: #345867; font-size: 11px; }

.phone-scene { position: relative; width: min(100%, 900px); height: 570px; margin: 40px auto 0; }
.phone { position: absolute; width: 225px; overflow: hidden; border: 6px solid #202426; border-radius: 38px; background: #202426; box-shadow: 0 0 0 2px #839097, 0 22px 40px #254b6338; }
.phone img { display: block; width: 100%; height: auto; }
.phone-center { z-index: 2; width: 250px; top: 0; left: calc(50% - 125px); }
.phone-left { top: 88px; left: calc(50% - 300px); transform: rotate(-13deg); }
.phone-right { top: 66px; right: calc(50% - 300px); transform: rotate(13deg); }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 15px 18px; text-align: left; background: #fffffff0; border: 1px solid #fff; border-radius: 14px; box-shadow: 0 8px 24px #264e6712; }
.floating-card strong { display: block; font-size: 12px; font-weight: 650; }
.floating-card div > span { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.card-icon { display: grid; place-items: center; width: 32px; height: 32px; color: #3b849f; background: #e7f3f6; border-radius: 9px; font-size: 23px; }
.space-card { top: 113px; left: 0; transform: rotate(-7deg); }
.private-card { top: 151px; right: -15px; transform: rotate(8deg); }
.free-card { top: 242px; right: -10px; transform: rotate(8deg); }
.free-card .card-icon { color: var(--red); background: #fff0ed; }
.hero-bottom { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: -20px; padding: 0 0 38px; text-align: left; color: #415d67; font-size: 12px; }
.hero-bottom p { margin: 0; }
.hero-bottom strong { font-size: 17px; color: var(--ink); font-weight: 500; }
.hero-bottom a { text-decoration: none; }
.hero-bottom a span { margin-left: 12px; }

.comparison { padding: 100px 5%; text-align: center; }
.comparison > p:not(.eyebrow) { color: var(--muted); }
.comparison-frame { position: relative; aspect-ratio: 16 / 9; margin-top: 36px; overflow: hidden; background: var(--ink); border: 1px solid var(--frame); border-radius: 24px; box-shadow: 0 24px 60px #27272718; }
.comparison-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-after { clip-path: inset(0 0 0 var(--position)); }
.comparison-label { position: absolute; top: 18px; z-index: 2; padding: 8px 13px; color: var(--white); background: #272727d9; border-radius: 10px; font-size: 13px; }
.before-label { left: 18px; }
.after-label { right: 18px; }
.comparison-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--position); width: 3px; background: var(--white); transform: translateX(-50%); pointer-events: none; }
.comparison-line b { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; display: grid; place-items: center; color: var(--white); background: var(--ink); border: 3px solid var(--white); border-radius: 50%; font: 24px system-ui, sans-serif; transform: translate(-50%, -50%); }
.comparison-frame input { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; opacity: 0; }
.comparison-frame:focus-within { outline: 3px solid var(--red); outline-offset: 4px; }
.privacy { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(32px, 5vw, 64px); margin-bottom: 80px; padding: clamp(32px, 5vw, 64px); color: var(--white); background: #222e32; border-radius: 28px; }
.privacy-copy > p:not(.eyebrow) { max-width: 420px; color: #c5d2d6; line-height: 1.65; }
.privacy .eyebrow { color: #addbea; }
.privacy-benefits { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.privacy-benefits li { display: flex; align-items: center; gap: 14px; }
.privacy-benefits li > span { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid #ffffff20; border-radius: 12px; color: #addbea; font-size: 23px; }
.privacy-benefits strong { font-size: 15px; font-weight: 600; }
.privacy-benefits p { margin: 3px 0 0; color: #c5d2d6; font-size: 13px; }
.privacy-benefits a { text-decoration-color: #ffffff55; text-underline-offset: 4px; }
.support-card { padding: clamp(26px, 3.4vw, 44px); color: var(--ink); background: linear-gradient(145deg, #edf8fc, #fff7ee); border: 1px solid #fff; border-radius: 22px; }
.support-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; }
.support-brand img { border-radius: 16px; transform: rotate(-7deg); }
.support-brand span { font-family: Pangolin, sans-serif; font-size: 17px; }
.support-card h3 { margin: 0 0 20px; font-size: clamp(32px, 3.3vw, 44px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.support-card > p { color: #596a72; font-size: 15px; line-height: 1.65; }
.donate-link { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 26px; padding: 17px 14px; color: var(--white); background: var(--red); border-radius: 13px; font-size: 20px; font-weight: 650; text-decoration: none; box-shadow: 0 8px 20px #fc363625; transition: transform .2s, background .2s; }
.donate-link:hover { background: #d92c2c; }
.donate-link span:last-child { margin-left: auto; }
.support-card .support-note { margin: 13px 0 0; text-align: center; font-size: 11px; }
.policy-page { min-height: calc(100vh - 226px); display: grid; align-items: center; padding: 60px 0 100px; }
.policy { max-width: 760px; }
.policy p:not(.eyebrow) { color: var(--muted); font-size: 20px; line-height: 1.65; }
.policy a { color: var(--ink); text-underline-offset: 5px; }
footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--frame); font-size: 13px; }
footer > span { font-family: Pangolin, sans-serif; font-size: 21px; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { text-decoration: none; }

@media (max-width: 1000px) {
  .top-links { gap: 18px; }
  .top-links .text-link { display: none; }
  .phone-scene { width: 740px; max-width: 100%; }
  .floating-card { padding: 12px; }
  .space-card { left: -5px; }
  .private-card, .free-card { right: -5px; }
}
@media (max-width: 700px) {
  header, main, footer { width: calc(100% - 32px); }
  header { min-height: 64px; margin-top: 16px; padding: 9px 10px; border-radius: 16px; gap: 12px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .top-links .text-link, .top-links .nav-cta:not(.nav-donate) { display: none; }
  .sister-project { gap: 12px; margin-top: 6px; padding: 12px; }
  .sister-project-icons img { width: 34px; height: 34px; border-radius: 10px; }
  .sister-project-copy strong { font-size: 14px; }
  .sister-project-arrow { flex-basis: 32px; width: 32px; height: 32px; }
  .nav-cta { padding: 10px 13px; font-size: 12px; }
  .hero { padding-top: 56px; }
  .hero::before { top: -100px; background-position: center, 62% bottom; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .1em; }
  h1 { font-size: clamp(37px, 7.6vw, 53px); line-height: 1.1; letter-spacing: -.05em; }
  .lead { max-width: 430px; margin-inline: auto; font-size: 14px; }
  .desktop-break { display: none; }
  .store-link { padding: 12px 18px; font-size: 13px; }
  .phone-scene { height: 455px; margin-top: 35px; overflow-x: clip; }
  .phone { width: 162px; border-width: 4px; border-radius: 27px; }
  .phone-center { width: 190px; left: calc(50% - 95px); border-radius: 31px; }
  .phone-left { left: calc(50% - 210px); top: 80px; transform: rotate(-10deg); }
  .phone-right { right: calc(50% - 210px); top: 65px; transform: rotate(10deg); }
  .floating-card { padding: 10px; gap: 7px; border-radius: 11px; }
  .floating-card strong { font-size: 10px; }
  .floating-card div > span { font-size: 9px; }
  .card-icon { width: 25px; height: 25px; font-size: 19px; }
  .space-card { top: 210px; left: 0; }
  .private-card { top: 315px; right: 0; }
  .free-card { display: none; }
  .hero-bottom { margin-top: 0; align-items: start; font-size: 10px; gap: 16px; }
  .hero-bottom strong { font-size: 14px; }
  .hero-bottom a { max-width: 155px; text-align: right; }
  .comparison { padding: 65px 0; }
  .comparison > p:not(.eyebrow) { font-size: 14px; }
  .comparison-frame { border-radius: 16px; }
  .comparison-label { top: 10px; font-size: 11px; padding: 5px 9px; }
  .before-label { left: 10px; }
  .after-label { right: 10px; }
  .comparison-line b { width: 38px; height: 38px; }
  .privacy { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; margin-bottom: 50px; }
  .support-card { padding: 26px 22px; }
  .donate-link { font-size: 19px; gap: 8px; }
  footer { align-items: flex-start; flex-direction: column; padding: 28px 0; gap: 16px; }
  footer nav { gap: 16px; }
}
@media (max-width: 440px) {
  .phone-left { left: calc(50% - 165px); }
  .phone-right { right: calc(50% - 165px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-link, .donate-link, .sister-project { transition: none; }
}
