/* justdone.ch: Apple-style gallery. White canvas, mist bands, one blue, 28px media, no shadows, no gradients. */
/* General Sans (Fontshare, ITF Free Font License), self-hosted: titles only, body stays on the system font */
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --white: #fff; --mist: #f5f5f7; --frost: #fafafc; --hairline: #d6d6d6;
  --ink: #1d1d1f; --slate: #707070; --link: #0066cc; --action: #c6f432; --action-dark: #aee21f;
  --font-heading: "General Sans", var(--font);
  --font: "SF Pro Text", "SF Pro Display", Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --radius-card: 28px; --radius-nav: 20px;
  --gap: 20px; --section: 90px; --pad: 28px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.47 var(--font); letter-spacing: -0.374px; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--ink); hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.kicker { font-size: 21px; font-weight: 600; line-height: 1.1; letter-spacing: 0.231px; }
.lead { font-size: 21px; line-height: 1.38; color: var(--slate); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* nav: the dominaite navbar. Full width and clear at the top of the page; past 40 px of scroll (or with the
   phone menu open) it folds into a narrower floating panel. nav.js sets .is-floating and .is-open. */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 0 12px; }
.nav-shell { max-width: 1040px; margin: 0 auto; border: 1px solid transparent; border-radius: 0; background: transparent;
  transition: max-width .5s var(--ease), margin .5s var(--ease), border-radius .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease); }
.nav.is-floating .nav-shell { margin-top: 8px; max-width: 1000px; border-radius: var(--radius-nav); border-color: rgba(29,29,31,.08);
  background: rgba(255,255,255,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav-bar { display: flex; align-items: center; height: 64px; padding: 0 12px; transition: height .5s var(--ease); }
.nav.is-floating .nav-bar { height: 56px; }
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.nav-links, .nav-end { display: none; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; border-radius: 9999px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { background: var(--mist); }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-menu { display: flex; flex-direction: column; padding: 0 12px; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .2s ease-out, opacity .2s ease-out, padding .2s ease-out; }
.nav.is-open .nav-menu { max-height: calc(100vh - 88px); overflow-y: auto; opacity: 1; padding-bottom: 12px; }
.nav-menu a.m { padding: 12px; border-radius: 12px; font-size: 17px; font-weight: 500; color: rgba(29,29,31,.8); }
.nav-menu a.m:hover { background: var(--mist); color: var(--ink); text-decoration: none; }
.nav-menu .lang { padding: 12px; font-size: 14px; }
.nav-menu .pill { justify-content: center; min-height: 48px; margin-top: 8px; }
.lang { font-size: 12px; color: var(--slate); }
.lang a { color: var(--slate); }
.lang b { color: var(--ink); font-weight: 600; }
@media (min-width: 768px) {
  .nav-bar { display: grid; grid-template-columns: 1fr auto 1fr; padding: 0 8px; }
  .brand { justify-self: start; padding-left: 12px; }
  .nav-links { display: flex; gap: 4px; }
  .nav-links a { padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; letter-spacing: -0.224px; color: rgba(29,29,31,.6); }
  .nav-links a:hover { color: var(--ink); text-decoration: none; }
  .nav-end { display: flex; align-items: center; gap: 16px; justify-self: end; }
  .nav-toggle, .nav-menu { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-shell, .nav-bar, .nav-menu { transition: none; } }
main { padding-top: 64px; }
section[id] { scroll-margin-top: 72px; }

/* buttons */
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 9999px; font-size: 17px; letter-spacing: -0.374px; background: var(--action); color: var(--ink); font-weight: 600; }
.pill:hover { background: var(--action-dark); text-decoration: none; }
.pill.small { min-height: 32px; padding: 0 14px; font-size: 12px; letter-spacing: -0.12px; }
.pill.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--slate); }
.pill.outline:hover { background: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .actions { justify-content: center; }

/* sections */
section { padding: var(--section) 0; }
section.mist { background: var(--mist); }
h1 { hyphens: manual; text-wrap: balance; font-size: clamp(40px, 8vw, 80px); line-height: 1.05; letter-spacing: -0.035em; margin-top: 16px; }
h2 { text-wrap: balance; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 24px; line-height: 1.17; letter-spacing: -0.01em; }
.head { margin-bottom: 52px; }
.head .lead { margin-top: 16px; }
/* hero: after the 21st.dev "minimalist hero". Text left, a photo cut out in front of a big lime circle in the
   middle, the headline large on the right, a quiet fact line along the bottom. Plain CSS, no framework. */
.hero { padding: 24px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; text-align: center; }
.hero-title { margin: 0; }
.hero-small { display: block; font-size: 21px; letter-spacing: -0.01em; color: var(--slate); margin-bottom: 8px; }
.hero-big { display: block; font-size: clamp(48px, 13vw, 72px); line-height: 0.98; letter-spacing: -0.04em; }
.hero-visual { position: relative; display: grid; place-items: center; width: 100%; max-width: 480px; aspect-ratio: 1; }
.hero-circle { position: absolute; inset: 6%; border-radius: 50%; background: var(--action); }
.hero-img { position: relative; width: 100%; height: auto; }
.hero-text .lead { font-size: 19px; max-width: 26rem; margin: 0 auto; }
.hero-text .actions { justify-content: center; align-items: center; margin-top: 24px; gap: 20px; }
.more { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hero-foot { display: flex; flex-direction: column; gap: 6px; text-wrap: balance; font-size: 12px; letter-spacing: -0.12px; color: var(--slate); }
@media (min-width: 960px) {
  .hero { padding: 0 0 32px; }
  .hero-grid { min-height: calc(100svh - 64px); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 1.15fr);
    grid-template-rows: 1fr auto; grid-template-areas: "text visual title" "foot foot foot"; align-items: center;
    justify-items: start; text-align: left; gap: 0 40px; }
  .hero-title { grid-area: title; }
  .hero-visual { grid-area: visual; justify-self: center; max-width: 560px; }
  .hero-text { grid-area: text; }
  .hero-text .lead { margin: 0; font-size: 17px; max-width: 18rem; }
  .hero-text .actions { justify-content: flex-start; }
  .hero-big { font-size: clamp(52px, 4.6vw, 72px); }
  .hero-foot { grid-area: foot; flex-direction: row; justify-content: space-between; width: 100%; padding-top: 16px; border-top: 1px solid var(--hairline); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-circle { animation: hero-pop .8s cubic-bezier(.22, 1, .36, 1) .1s both; }
  .hero-img { animation: hero-rise 1s cubic-bezier(.22, 1, .36, 1) .25s both; }
  .hero-text, .hero-foot { animation: hero-fade .6s ease-out .5s both; }
}
@keyframes hero-pop { from { transform: scale(.8); opacity: 0; } }
@keyframes hero-rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes hero-fade { from { transform: translateY(16px); opacity: 0; } }

/* cards */
.grid { display: grid; gap: var(--gap); }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--radius-card); padding: var(--pad) var(--pad) 36px; }
section:not(.mist) .card { background: var(--mist); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--slate); }
.num { font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.card .price { color: var(--ink); font-size: 48px; font-weight: 600; line-height: 1.08; letter-spacing: -0.5px; margin: 8px 0 16px; }
.price small { font-size: 17px; font-weight: 400; color: var(--slate); letter-spacing: -0.374px; }
.card ul { list-style: none; margin: 20px 0 0; padding: 0; color: var(--ink); }
.card li { padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 14px; letter-spacing: -0.224px; }
.card .label { font-size: 12px; font-weight: 600; color: #b64400; letter-spacing: -0.12px; }
.note { margin-top: 24px; font-size: 14px; color: var(--slate); letter-spacing: -0.224px; }

/* faq */
details { border-top: 1px solid var(--hairline); padding: 20px 0; max-width: 720px; margin: 0 auto; }
details:last-of-type { border-bottom: 1px solid var(--hairline); }
summary { cursor: pointer; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: 0.231px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--slate); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 12px; color: var(--slate); }


footer { background: var(--mist); padding: 40px 0; font-size: 12px; color: var(--slate); letter-spacing: -0.12px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--slate); }
footer span:first-child { margin-right: auto; }
.gap-top { margin-top: 16px; }

/* legal pages (rendered by legal.py): a plain header, readable text, missing facts flagged */
.legal main { padding-top: 0; }
.legal section { padding-top: 48px; }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.prose { max-width: 680px; }
.prose h1 { font-size: clamp(40px, 6vw, 56px); }
.prose h2 { font-size: 21px; letter-spacing: -0.01em; margin-top: 40px; }
.prose p { margin: 12px 0 0; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
mark.missing { background: var(--action); color: var(--ink); padding: 0 6px; border-radius: 6px; font-weight: 600; }
