/* Wish Tin landing and info pages. Colours, radii and type follow ios/Shared/Theme.swift and web/styles.css,
   so the site looks like the app, the extension and the share page. System fonts only; no third-party assets. */
:root {
  --bg: #F7F4EF; --card: #FFFFFF; --ink: #22201C; --ink2: #6E6A63; --ink3: #A39E95;
  --line: #ECE7DF; --accent: #D46A4C; --accentDeep: #B9533A; --accentSoft: #FBEAE3;
  --sage: #5E8C6A; --sageSoft: #E6F0E8; --amber: #B7791F; --amberSoft: #FDF3DC; --track: #F0ECE6;
  --tin: #E8695E;
  --r-card: 18px; --r-big: 28px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(60,40,20,.04), 0 4px 14px rgba(60,40,20,.05);
  --shadow-lg: 0 2px 6px rgba(60,40,20,.06), 0 24px 60px rgba(60,40,20,.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accentDeep); text-underline-offset: 2px; }
a:focus-visible, summary:focus-visible, .btn-big:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
b { font-weight: 650; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(247,244,239,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 750; font-size: 20px; letter-spacing: -.3px; }
.brand img { border-radius: 11px; box-shadow: 0 1px 3px rgba(60,40,20,.15); }
.brand.small { font-size: 16px; }
.brand.small img { border-radius: 8px; }
.site-head nav { display: flex; align-items: center; gap: 8px; }
.nav { display: flex; gap: 4px; list-style: none; }
.head-signin { display: block; padding: 8px 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.head-signin:hover { opacity: .88; }
.nav a { display: block; padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 550; }
.nav a:hover { background: #fff; color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; }
.hero::before { width: 620px; height: 620px; right: -160px; top: -140px; background: radial-gradient(circle at 40% 40%, rgba(232,105,94,.28), rgba(232,105,94,0) 65%); }
.hero::after { width: 520px; height: 520px; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(94,140,106,.16), rgba(94,140,106,0) 65%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--sage); background: var(--sageSoft); padding: 6px 14px; border-radius: var(--r-pill); }
.hero h1 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -1.6px; font-weight: 800; margin: 18px 0 18px; }
.accent-text { color: var(--accent); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 9px 20px 9px 16px; border-radius: 14px; font-weight: 650; font-size: 19px; line-height: 1.1; }
.store-badge small { display: block; font-size: 11.5px; font-weight: 500; opacity: .8; letter-spacing: .2px; }
.btn-big { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: var(--r-pill); font-weight: 650; font-size: 16px; text-decoration: none; }
.btn-big.ghost { background: var(--accentSoft); color: var(--accentDeep); }
.btn-big.ghost:hover { background: #F8DDD2; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--ink2); }

/* Hero art: CSS phone frame drawn with the share page's own components */
.hero-art { position: relative; justify-self: center; }
.hero-tin { position: absolute; width: 132px; height: 132px; left: -64px; bottom: 36px; border-radius: 30px; box-shadow: var(--shadow-lg); transform: rotate(-8deg); }
.phone { width: 320px; padding: 12px; background: #1E1C19; border-radius: 52px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3733; }
.phone-screen { background: var(--bg); border-radius: 41px; overflow: hidden; padding: 0 14px 18px; height: 600px; font-size: 13px; }
.m-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 4px; font-weight: 650; font-size: 13px; }
.m-dots { width: 56px; height: 10px; border-radius: 6px; background: var(--ink); opacity: .85; }
.m-top { padding: 12px 2px 10px; }
.m-h1 { font-size: 21px; font-weight: 750; letter-spacing: -.4px; line-height: 1.15; }
.m-sub { display: flex; gap: 6px; align-items: center; color: var(--ink2); font-size: 12px; margin-top: 4px; }
.m-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 650; padding: 3px 8px; border-radius: var(--r-pill); background: var(--accentSoft); color: var(--accent); white-space: nowrap; }
.m-chip.sage { background: var(--sageSoft); color: var(--sage); }
.m-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 9px; }
.m-summary { padding: 11px 12px; }
.m-sum-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.m-sum-head span { color: var(--sage); font-size: 11.5px; font-weight: 600; }
.m-row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 2px 0; }
.m-row span { width: 36px; font-weight: 650; }
.m-row em { font-style: normal; color: var(--ink2); width: 36px; text-align: right; }
.m-bar { flex: 1; height: 6px; background: var(--track); border-radius: 3px; overflow: hidden; display: block; }
.m-bar i { display: block; height: 100%; background: var(--sage); border-radius: 3px; }
.m-bar .w70 { width: 66%; } .m-bar .w100 { width: 100%; }
.m-person { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 750; padding: 8px 2px 8px; }
.m-av { width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.av-pink { background: #C86F9B; }
.m-item { display: flex; gap: 10px; padding: 10px; }
.m-tile { width: 50px; height: 50px; border-radius: 11px; background: var(--accentSoft); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.m-body { flex: 1; min-width: 0; }
.m-line1 { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; }
.m-meta { color: var(--ink2); font-size: 11.5px; margin-top: 2px; }
.m-added { color: var(--ink3); font-size: 11px; margin-top: 1px; }
.m-line3 { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; gap: 6px; }
.m-shop { color: var(--accent); font-size: 12px; font-weight: 550; }
.m-btn { background: var(--accent); color: #fff; font-weight: 650; font-size: 12px; padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }

/* Sections */
.section { padding: 88px 0; }
.section.tint { background: linear-gradient(180deg, #F2ECE3 0%, var(--bg) 100%); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--accent); }
.kicker.light { color: #CFE3D4; }
.section h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1px; font-weight: 800; margin: 8px 0 36px; max-width: 22em; }
h3 { font-size: 19px; letter-spacing: -.3px; line-height: 1.25; font-weight: 700; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.step { padding: 26px 24px 28px; position: relative; }
.step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 750; font-size: 18px; align-items: center; justify-content: center; margin-bottom: 16px; }
.step p { color: var(--ink2); margin-top: 8px; }

/* Ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { overflow: hidden; display: flex; flex-direction: column; }
.way-art { height: 230px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; }
.art-iphone { background: linear-gradient(160deg, #F6D3C8, #FBEAE3 70%); }
.art-browser { background: linear-gradient(160deg, #DDE9E0, #EEF4EF 70%); }
.art-web { background: linear-gradient(160deg, #F8E6C2, #FDF3DC 70%); flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding: 0 26px; }
.way-body { padding: 22px 24px 26px; }
.way-body > p { color: var(--ink2); margin-top: 8px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accentSoft); padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 10px; }
.tag.sage { color: var(--sage); background: var(--sageSoft); }
.ticks { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--sageSoft); color: var(--sage); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.mini-phone { width: 200px; height: 206px; background: var(--bg); border: 8px solid #1E1C19; border-bottom: 0; border-radius: 30px 30px 0 0; padding: 12px 12px 0; font-size: 11px; box-shadow: var(--shadow-lg); }
.mp-head { display: flex; justify-content: space-between; align-items: center; }
.mp-head img { border-radius: 7px; }
.mp-plus { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.mp-hello { color: var(--ink2); font-size: 10px; margin: 5px 0 7px; }
.mp-share { background: var(--accentSoft); color: var(--accent); text-align: center; font-weight: 650; border-radius: 10px; padding: 6px 4px; font-size: 10px; }
.mp-h { font-weight: 750; font-size: 13px; margin: 9px 0 6px; }
.mp-list { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 11px; padding: 6px 8px; margin-bottom: 6px; font-weight: 650; box-shadow: var(--shadow); }
.mp-list small { display: block; font-weight: 400; color: var(--ink2); font-size: 9.5px; }
.mp-ico { width: 26px; height: 26px; border-radius: 7px; background: var(--sageSoft); display: flex; align-items: center; justify-content: center; font-size: 14px; }

.browser { width: 92%; height: 200px; background: #fff; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.b-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #EFECE7; }
.b-bar > i { width: 8px; height: 8px; border-radius: 50%; background: #D4CFC7; }
.b-url { flex: 1; margin: 0 6px; background: #fff; border-radius: 6px; font-size: 9.5px; color: var(--ink3); padding: 2px 8px; }
.b-bar img { border-radius: 4px; outline: 2px solid var(--accent); outline-offset: 1px; }
.b-page { position: relative; padding: 12px; }
.b-product { display: flex; gap: 10px; }
.b-img { width: 70px; height: 70px; border-radius: 8px; background: #F1EEE9; }
.b-lines { flex: 1; display: grid; gap: 7px; align-content: start; }
.b-lines i { display: block; height: 8px; border-radius: 4px; background: #EEEAE4; }
.b-lines i.short { width: 40%; }
.b-popup { position: absolute; right: 8px; top: 2px; width: 150px; background: var(--bg); border-radius: 12px; padding: 9px; box-shadow: 0 8px 26px rgba(60,40,20,.2); font-size: 10.5px; }
.bp-head { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; }
.bp-head img { border-radius: 4px; }
.bp-item { display: flex; gap: 6px; align-items: center; background: #fff; border-radius: 8px; padding: 5px; font-weight: 650; }
.bp-item small { display: block; font-weight: 500; color: var(--ink2); }
.bp-tile { width: 26px; height: 26px; border-radius: 6px; background: var(--accentSoft); display: flex; align-items: center; justify-content: center; }
.bp-select { margin-top: 6px; background: #fff; border-radius: 8px; padding: 5px 7px; color: var(--ink2); }
.bp-btn { margin-top: 6px; background: var(--accent); color: #fff; text-align: center; border-radius: var(--r-pill); padding: 5px; font-weight: 700; }

.link-bubble { align-self: flex-start; max-width: 88%; background: #fff; border-radius: 18px 18px 18px 5px; padding: 10px 14px; font-size: 14px; line-height: 1.4; box-shadow: var(--shadow); }
.link-bubble u { color: var(--accentDeep); text-decoration: underline; }
.lb-from { display: block; font-size: 11px; font-weight: 700; color: var(--ink3); margin-bottom: 2px; }
.lb-reply { align-self: flex-end; max-width: 80%; background: var(--sage); color: #fff; border-radius: 18px 18px 5px 18px; padding: 9px 14px; font-size: 14px; }

/* Features */
.features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; }
.f-ico { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--accentSoft); font-size: 24px; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature:nth-child(3n+2) .f-ico { background: var(--sageSoft); }
.feature:nth-child(3n) .f-ico { background: var(--amberSoft); }
.feature p { color: var(--ink2); margin-top: 6px; font-size: 15.5px; }

/* Privacy band */
.privacy-band { background: #2F4A38; background: linear-gradient(135deg, #3E654A, #2C4434); color: #fff; border-radius: var(--r-big); padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; box-shadow: var(--shadow-lg); }
.privacy-band h2 { color: #fff; margin-bottom: 14px; }
.pb-copy p { color: #D9E7DD; font-size: 17px; }
.pb-list { list-style: none; display: grid; gap: 12px; align-content: center; }
.pb-list li { position: relative; padding: 12px 14px 12px 46px; background: rgba(255,255,255,.08); border-radius: 14px; font-size: 15.5px; line-height: 1.45; }
.pb-list li::before { content: "🔒"; position: absolute; left: 14px; top: 11px; font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accentSoft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--ink2); }

/* Closing */
.closing { padding-top: 40px; }
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-inner img { border-radius: 28px; box-shadow: var(--shadow-lg); margin-bottom: 22px; }
.closing-inner h2 { margin: 0 auto 8px; }
.closing-inner p { color: var(--ink2); font-size: 18px; }

/* Footer */
.site-foot { background: #fff; border-top: 1px solid var(--line); padding: 28px 0 22px; color: var(--ink2); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.foot-links { list-style: none; display: flex; gap: 18px; }
.foot-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copyright { margin-top: 14px; font-size: 12.5px; color: var(--ink3); }

/* Info pages (privacy) */
.doc { padding: 48px 0 72px; }
.doc h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 48px); letter-spacing: -1px; line-height: 1.1; font-weight: 800; margin: 8px 0 12px; }
.doc .lede { margin-bottom: 26px; }
.doc-list { list-style: none; padding: 8px 22px; }
.doc-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: none; }
.back { margin-top: 24px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: left; }
  .hero-tin { left: -40px; width: 104px; height: 104px; }
  .ways, .features { grid-template-columns: 1fr 1fr; }
  .ways .way:last-child { grid-column: 1 / -1; }
  .privacy-band { grid-template-columns: 1fr; padding: 36px 28px; gap: 20px; }
}
@media (max-width: 680px) {
  .hero { padding: 32px 0 48px; }
  .section { padding: 60px 0; }
  .steps, .ways, .features { grid-template-columns: 1fr; }
  .ways .way:last-child { grid-column: auto; }
  .phone { width: 290px; border-radius: 48px; }
  .phone-screen { height: 540px; border-radius: 37px; }
  .hero-tin { left: -18px; bottom: 20px; width: 88px; height: 88px; border-radius: 22px; }
  .cta-row { gap: 10px; }
  .store-badge, .btn-big { width: 100%; justify-content: center; }
  .privacy-band { padding: 30px 20px; border-radius: 22px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
#privacy { padding-top: 0; }
.pb-copy a { color: #fff; font-weight: 650; display: inline-block; margin-top: 18px; }
.m-shop { white-space: nowrap; }
.phone-screen { height: 468px; }
@media (max-width: 680px) { .phone-screen { height: 452px; } }
.m-line3 { flex-wrap: wrap; }
.m-body { overflow: hidden; }
@media (max-width: 680px) { .phone { width: 300px; } .m-line1 { font-size: 12.5px; } }
a.store-badge { text-decoration: none; transition: transform .15s ease, background .15s ease; }
a.store-badge:hover { background: #000; transform: translateY(-1px); }
a.store-badge:focus-visible, .btn-add:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.store-badge.small { font-size: 16px; padding: 7px 16px 7px 13px; border-radius: 12px; }
.way-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-add { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: var(--r-pill); background: #B85A3E; color: #fff; font-weight: 650; font-size: 15px; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.btn-add:hover { filter: brightness(.95); transform: translateY(-1px); }
.way-small { margin-top: 10px; font-size: 13px; color: var(--ink2); }
.closing-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; }
.closing-cta .btn-add { padding: 13px 22px; font-size: 16px; }
@media (max-width: 680px) { .way-cta .store-badge, .way-cta .btn-add { width: auto; } .closing-cta { flex-direction: column; align-items: stretch; } }
@media (prefers-reduced-motion: reduce) { a.store-badge, .btn-add { transition: none; } }
