/* Pinny website. Tokens mirror theme/tokens.ts (contrast-checked 8 Sep 2026). */
:root {
  --bg: #FCF1DE; --card: #FFFCF6; --line: #F2DEC0; --line-strong: #D9C3A3; --outline: #A0845F;
  --ink: #3A2321; --muted: #7A5B55; --active: #AE4833; --coral: #F79673; --coral-deep: #E97B5E; --coral-tint: #FDE3D6;
  --navy: #446292; --navy-tint: #DDE5F0; --teal: #5FB1A4; --teal-text: #2C766A; --teal-tint: #DDF0EC;
  --amber: #F7B556; --amber-text: #8C6010; --amber-tint: #FCEBCF; --burgundy: #CD6C62; --burgundy-text: #8E3B3D; --burgundy-tint: #F6DEDC;
  --shadow: 0 18px 50px rgba(135, 75, 65, 0.12); --shadow-soft: 0 8px 24px rgba(135, 75, 65, 0.08);
  --r-card: 28px; --r-tile: 20px; --r-btn: 999px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, sans-serif; font-weight: 500; font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--active); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--active); background: var(--coral-tint); padding: 6px 12px; border-radius: 999px; }
.eyebrow .pin { width: 10px; height: 10px; border-radius: 50%; background: var(--coral-deep); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: var(--r-btn); font-weight: 800; font-size: 1.05rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer; border: 0; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 12px; }
.btn-primary { background: var(--coral); color: var(--ink); box-shadow: 0 10px 30px rgba(233, 123, 94, .35); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--active); border: 2px solid var(--line-strong); }
.btn-ghost:hover { background: var(--card); }
.btn svg { width: 22px; height: 22px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(252, 241, 222, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-soft); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--active); text-decoration: none; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 0 0 18px; }
.hero h1 .hi { color: var(--active); }
.hero .lede { font-size: 1.25rem; color: var(--muted); max-width: 32rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.hero .note { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.hero-visual { position: relative; min-height: 600px; }
.hero-visual .mascot { position: absolute; left: 2%; bottom: -6%; width: 40%; max-width: 250px; z-index: 3; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(135, 75, 65, .18)); }
.hero-visual .phone { position: absolute; width: 46%; max-width: 250px; border-radius: 15.5% / 7.2%; box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hero-visual .phone.a { left: 16%; top: 0; transform: rotate(-6deg); }
.hero-visual .phone.b { right: 2%; top: 70px; transform: rotate(5deg); }
.hero-visual:hover .phone.a { transform: rotate(-3deg) translateY(-6px); }
.hero-visual:hover .phone.b { transform: rotate(2deg) translateY(-6px); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; pointer-events: none; }
.blob.coral { width: 520px; height: 520px; background: var(--coral-tint); right: -120px; top: -80px; }
.blob.teal { width: 380px; height: 380px; background: var(--teal-tint); left: 30%; bottom: -160px; }
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; margin-top: 10px; }
  .hero-visual .phone { width: 44%; max-width: 220px; }
  .hero-visual .phone.a { left: 12%; }
  .hero-visual .phone.b { right: 4%; }
  .hero-visual .mascot { left: 0; width: 38%; bottom: -4%; }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

/* pins strip */
.pins { padding: 30px 0 10px; }
.pins .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pin-card { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: var(--r-tile); padding: 18px 20px; box-shadow: var(--shadow-soft); }
.pin-card .dot { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.pin-card .dot svg { width: 22px; height: 22px; }
.pin-card strong { display: block; font-weight: 800; }
.pin-card span { color: var(--muted); font-size: .98rem; }
.t-teal { background: var(--teal-tint); } .t-amber { background: var(--amber-tint); } .t-navy { background: var(--navy-tint); } .t-coral { background: var(--coral-tint); } .t-burgundy { background: var(--burgundy-tint); }
@media (max-width: 760px) { .pins .wrap { grid-template-columns: 1fr; } }

/* sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 48px; }
.section-head h2 { margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* features (the HF preview-shot idea, plush) */
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-card); padding: 26px 26px 0; box-shadow: var(--shadow-soft); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 1rem; margin-bottom: 22px; }
.feature .shot { position: relative; margin: auto auto 0; width: 70%; max-width: 230px; }
.feature .shot img { border-radius: 15.5% 15.5% 0 0 / 7.2% 7.2% 0 0; box-shadow: 0 -10px 40px rgba(135, 75, 65, .12); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.feature:hover .shot img { transform: translateY(-10px); }
.feature .shot::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to top, var(--card), transparent); pointer-events: none; }
.feature.wide { grid-column: span 2; flex-direction: row; align-items: flex-end; gap: 24px; padding-right: 0; }
.feature.wide .text { flex: 1; align-self: center; padding-bottom: 26px; }
.feature.wide .shot { width: 38%; max-width: 260px; margin: 0; }
.feature .badge { position: absolute; top: 18px; right: 18px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--active); background: var(--coral-tint); padding: 5px 10px; border-radius: 999px; }
@media (max-width: 960px) { .features .grid { grid-template-columns: repeat(2, 1fr); } .feature.wide { grid-column: span 2; } }
@media (max-width: 640px) { .features .grid { grid-template-columns: 1fr; } .feature.wide { grid-column: span 1; flex-direction: column; padding-right: 26px; } .feature.wide .shot { width: 70%; margin: auto auto 0; } .feature.wide .text { padding-bottom: 0; } }

/* how it works */
.steps .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-soft); text-align: center; }
.step .num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--coral); color: var(--ink); font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; }
.step p { color: var(--muted); margin-top: 8px; }
.step img { width: 120px; margin: 0 auto 14px; }
@media (max-width: 760px) { .steps .grid { grid-template-columns: 1fr; } }

/* pricing */
.pricing .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border-radius: var(--r-card); padding: 30px; box-shadow: var(--shadow-soft); border: 3px solid transparent; }
.plan.plus { border-color: var(--coral); }
.plan .tag { position: absolute; top: -14px; left: 26px; background: var(--teal-text); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan .name { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 2px; }
.plan .price small { display: block; font-size: 1rem; color: var(--muted); font-weight: 700; letter-spacing: 0; margin-top: 2px; }
.plan .sub { color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ''; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C766A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan.plus li::before { background-color: var(--coral-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AE4833' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.plan .fine { font-size: .9rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 760px) { .pricing .grid { grid-template-columns: 1fr; } }

/* privacy */
.privacy .card { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; background: var(--card); border-radius: var(--r-card); padding: 36px; box-shadow: var(--shadow-soft); }
.privacy .card img { width: 100%; }
.privacy ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; color: var(--muted); }
.privacy li { display: flex; gap: 10px; align-items: flex-start; }
.privacy li .dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; }
@media (max-width: 760px) { .privacy .card { grid-template-columns: 1fr; text-align: center; } .privacy .card img { width: 150px; margin: 0 auto; } .privacy ul { grid-template-columns: 1fr; text-align: left; } }

/* faq */
.faq .list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border-radius: var(--r-tile); padding: 18px 22px; box-shadow: var(--shadow-soft); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 800; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--coral-tint); color: var(--active); display: grid; place-items: center; font-weight: 800; transition: transform .25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

/* download */
.download { text-align: center; padding-bottom: 60px; }
.download .fan { display: flex; justify-content: center; gap: 18px; margin-bottom: 36px; }
.download .fan img { width: 150px; border-radius: 15.5% / 7.2%; box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.download .fan img:nth-child(1) { transform: rotate(-8deg) translateY(10px); }
.download .fan img:nth-child(2) { transform: rotate(-2deg); }
.download .fan img:nth-child(3) { transform: rotate(3deg); }
.download .fan img:nth-child(4) { transform: rotate(8deg) translateY(10px); }
.download .fan:hover img { transform: rotate(0) translateY(-6px); }
.download h2 { margin-bottom: 14px; }
.download p { color: var(--muted); font-size: 1.1rem; max-width: 30rem; margin: 0 auto 28px; }
.download .mascot { width: 140px; margin: 0 auto 10px; }
@media (max-width: 640px) { .download .fan img { width: 22vw; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; }
footer .links a { color: var(--muted); font-weight: 700; font-size: .95rem; }
footer .disclaimer { width: 100%; margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* legal + support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.doc .meta { color: var(--muted); margin-bottom: 30px; }
.doc .preamble p { margin-bottom: 14px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.doc p { margin-bottom: 12px; }
.doc p.clause { padding-left: 2.6em; text-indent: -2.6em; }
.doc p.sub { padding-left: 4.4em; text-indent: -1.8em; }
.doc .back { display: inline-block; margin-bottom: 26px; font-weight: 700; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; } .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; } .reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; } .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; } .reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
