/* SafariRate site (landing + sign-up) — after KaribuLink: cream paper, Cormorant headlines with a
   second line in oxblood, Inter body, a split hero with the product on a coloured panel, dark
   umber bands. KaribuLink's sage panel becomes clay here (no green).
   Contrast (computed 2026-10-12): ink #1D1B18 on cream #F7F1E6 16.1 · ink-2 #5B5249 on cream 7.0
   oxblood #6E2C27 on cream 9.3 · cream on oxblood 9.3 · ink on clay #D9B99B 9.7
   on umber #2A221C: #F3ECE0 14.6 · #BFB3A2 8.1 · amber #E2A65A 7.9
   night theme: #EDE6DA on #1B1815 14.8 · #B9AE9F on #1B1815 8.0 · #E2A65A on #1B1815 8.4 */
@font-face { font-family: "Cormorant Garamond"; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "Azeret Mono"; font-weight: 400 700; font-display: swap; src: url(/fonts/azeretmono.woff2) format("woff2"); }
:root {
  --bg: #F7F1E6; --bg-2: #EFE6D6; --card: #FBF8F2; --ink: #1D1B18; --ink-2: #5B5249; --ink-3: #6F6359; --hair: rgba(29, 27, 24, .12);
  --oxblood: #6E2C27; --oxblood-2: #8A3A33; --terracotta: #B4552F; --clay: #D9B99B; --clay-2: #C9A383; --amber: #E2A65A;
  --umber: #2A221C; --umber-ink: #F3ECE0; --umber-ink-2: #BFB3A2; --sky: #DCE6EC;
  --display: "Cormorant Garamond", Georgia, serif; --ui: "Inter", system-ui, sans-serif; --mono: "Azeret Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .33 0 0 0 0 .25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color-scheme: light;
}
:root[data-theme="night"] { --bg: #1B1815; --bg-2: #231F1B; --card: #26211D; --ink: #EDE6DA; --ink-2: #B9AE9F; --ink-3: #A99D8D; --hair: rgba(237, 230, 218, .14); --oxblood: #E2A65A; --oxblood-2: #EDB873; --clay: #3A2E25; --clay-2: #4A3B2F; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; font: 400 17px/1.65 var(--ui); color: var(--ink); background: var(--grain), var(--bg); transition: background-color .5s var(--ease), color .5s; }
img { display: block; max-width: 100%; }
a { color: var(--oxblood); text-underline-offset: 3px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.eyebrow { margin: 0; font: 500 13px/1.3 var(--ui); letter-spacing: .32em; text-transform: uppercase; color: var(--oxblood); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: 6px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1px solid var(--hair); background: var(--card); color: var(--ink); font: 600 16px/1 var(--ui); text-decoration: none; cursor: pointer; box-shadow: 0 2px 6px rgba(40, 24, 10, .08); transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(40, 24, 10, .16); }
.btn-primary { background: var(--oxblood); border-color: var(--oxblood); color: #FBF8F2; }
:root[data-theme="night"] .btn-primary { color: #1B1815; }
.btn-primary:hover { background: var(--oxblood-2); }
.btn-dark { background: #2A2521; color: #FBF8F2; border-color: #2A2521; min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* header */
.head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.head .wrap { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--card); border: 1px solid var(--hair); }
.logo-word { display: grid; line-height: 1; border-left: 1px solid var(--hair); padding-left: 12px; }
.logo-word b { font: 500 25px/1 var(--ui); letter-spacing: .14em; }
.logo-word small { font: 600 12px/1.6 var(--ui); letter-spacing: .3em; color: var(--oxblood); }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair); background: var(--card); cursor: pointer; font-size: 17px; color: var(--ink); }

/* hero — split; words on solid paper, the product on its own panel; nothing dark behind words */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; min-height: calc(100dvh - 79px); }
.hero-words { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 56px clamp(16px, 4vw, 64px) 56px max(16px, calc((100vw - 1240px) / 2)); }
.hero h1 { margin: 0; font: 500 clamp(48px, 6.2vw, 88px)/1.02 var(--display); letter-spacing: -.01em; }
.hero h1 span { display: block; color: var(--oxblood); }
.lede { margin: 0; max-width: 34em; font-size: 19px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { font-size: 15px; color: var(--ink-3); }
.hero-panel { position: relative; display: grid; place-items: center; padding: 48px 24px; background: var(--clay); overflow: hidden; }
.hero-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 70% 20%, rgba(255, 255, 255, .25), transparent 70%); }
.tablet { position: relative; width: min(560px, 100%); border-radius: 30px; padding: 14px; background: #2A2521; box-shadow: 0 50px 90px rgba(40, 24, 10, .35), inset 0 0 0 2px #4A3B2F; transform: rotate(-1.5deg); }
.tablet-screen { border-radius: 18px; overflow: hidden; background: #F4EFE7; }
.mini-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(29, 27, 24, .1); font: 600 13px/1 var(--ui); color: #1D1B18; }
.mini-top em { font: italic 500 17px/1 var(--display); }
.mini-pill { padding: 4px 9px; border-radius: 999px; background: #1D1B18; color: var(--amber); font: 600 12px/1 var(--ui); }
.mini-photo { height: 120px; object-fit: cover; width: 100%; }
.mini-table { width: 100%; border-collapse: separate; border-spacing: 3px; padding: 10px; font: 500 13px/1 var(--ui); color: #3B3530; }
.mini-table th { padding: 10px 6px; font: 600 12px/1.1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #FFFDF8; }
.mini-table th.s1 { background: #A8644A; } .mini-table th.s2 { background: #B89A62; color: #1D1B18; } .mini-table th.s3 { background: #5E6B78; }
.mini-table th.room { background: transparent; }
.mini-table td { padding: 11px 6px; background: #FFF; text-align: center; font-family: var(--mono); transition: background .6s; }
.mini-table td.rl { text-align: left; background: #D8C6BC; font-family: var(--ui); letter-spacing: .04em; font-size: 12px; }
.mini-table td.hot { background: #F6DDB3; }
.float-card { position: absolute; left: 5%; bottom: 8%; width: 250px; padding: 14px; border-radius: 16px; background: #FBF8F2; color: #1D1B18; box-shadow: 0 24px 50px rgba(40, 24, 10, .28); transform: rotate(1.5deg); animation: float 6s ease-in-out infinite; }
.float-card .eyebrow { color: #6E2C27; font-size: 12px; letter-spacing: .28em; }
.float-card b { display: block; font: 600 20px/1.2 var(--display); margin: 4px 0 8px; }
.float-card button { display: flex; justify-content: space-between; width: 100%; margin-top: 4px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; font: 500 13px/1.2 var(--ui); color: #1D1B18; cursor: pointer; text-align: left; transition: background .2s; }
.float-card button:hover, .float-card button[aria-pressed="true"] { background: #F3E2CA; }
.float-card button em { font: 600 12px/1.3 var(--mono); font-style: normal; color: #6F6359; }
@keyframes float { 50% { transform: rotate(1.5deg) translateY(-8px); } }
.float-card:hover, .float-card:focus-within { animation-play-state: paused; }

/* strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.strip div { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-left: 1px solid var(--hair); }
.strip div:first-child { border-left: 0; }
.strip i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 18px; background: var(--bg-2); color: var(--oxblood); }
.strip b { display: block; font-size: 16px; }
.strip span { font-size: 14px; color: var(--ink-2); }

/* dark band: the two looks */
.band { background: var(--umber); color: var(--umber-ink); padding: 92px 0; }
.band .eyebrow { color: var(--amber); text-align: center; }
.band h2 { margin: 14px auto 12px; text-align: center; font: 500 clamp(36px, 4.4vw, 60px)/1.05 var(--display); max-width: 18em; }
.band p.sub { text-align: center; color: var(--umber-ink-2); max-width: 38em; margin: 0 auto 34px; }
.look-switch { display: flex; justify-content: center; margin-bottom: 30px; }
.look-switch div { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.look-switch button { border: 0; background: transparent; color: var(--umber-ink-2); padding: 10px 20px; border-radius: 999px; font: 600 15px/1 var(--ui); cursor: pointer; transition: background .3s, color .3s; }
.look-switch button[aria-pressed="true"] { background: var(--umber-ink); color: #1D1B18; }
.looks { position: relative; max-width: 980px; margin: 0 auto; }
.look { border-radius: 14px; overflow: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.look[hidden] { display: block !important; position: absolute; inset: 0; opacity: 0; transform: translateY(10px) scale(.99); pointer-events: none; }
.look-classic { background: var(--grain), #F4EFE7; color: #3B3530; padding: 26px; }
.look-classic .lc-grid { display: grid; grid-template-columns: 30% 1fr; gap: 4px; }
.lc-incl { background: #F6F5F2; padding: 16px; font-size: 13px; line-height: 1.5; }
.lc-title { background: #F2EAE2; text-align: center; padding: 14px; font: 500 18px/1.2 var(--display); letter-spacing: .32em; text-transform: uppercase; }
.lc-title small { display: block; font: 500 12px/1.6 var(--ui); letter-spacing: .14em; }
.look-atelier { background: #FBF8F2; color: #1D1B18; padding: 34px 38px; }
.la-head { display: flex; align-items: baseline; gap: 16px; }
.la-head b { font: 500 46px/1 var(--display); } .la-head em { font: italic 500 22px/1 var(--display); color: #B4552F; }
.la-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.la-table th { padding: 8px; font: 600 13px/1 var(--ui); }
.la-table th span { display: inline-block; padding: 7px 12px; border-radius: 999px; }
.la-table td { padding: 14px 8px; border-top: 1px solid rgba(29, 27, 24, .12); text-align: center; font: 600 22px/1 var(--mono); }
.la-table td small { display: block; margin-top: 4px; font: 500 12px/1 var(--ui); color: #5B5249; }
.la-table td.rl { text-align: left; font: 500 16px/1.3 var(--ui); }

/* widgets — launcher-style tiles */
.widgets { padding: 96px 0; }
.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { margin: 12px 0 0; font: 500 clamp(36px, 4.2vw, 56px)/1.05 var(--display); }
.sec-title p { max-width: 36em; margin: 12px auto 0; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
.tile { padding: 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--hair); box-shadow: 0 1px 2px rgba(40, 24, 10, .05), 0 18px 40px rgba(40, 24, 10, .07); transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(40, 24, 10, .05), 0 28px 50px rgba(40, 24, 10, .12); }
.tile .spaced { font: 500 13px/1 var(--ui); letter-spacing: .5em; text-transform: lowercase; color: var(--ink-3); }
.tile h3 { margin: 14px 0 6px; font: 500 28px/1.1 var(--display); }
.tile p { margin: 0; font-size: 15px; color: var(--ink-2); }
.ring { position: relative; width: 168px; height: 168px; margin: 18px auto 6px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: var(--bg-2); }
.ring .fill { stroke: var(--terracotta); stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset 1.6s var(--ease); }
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-val b { font: 600 38px/1 var(--mono); }
.ring-val span { font: italic 500 15px/1.2 var(--display); color: var(--oxblood); }
.note-demo { margin-top: 18px; display: grid; gap: 10px; }
.note-demo div { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 14px; }
.note-demo i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; }
.note-demo .fix i { background: #F4D9D2; color: #7E2A1C; } .note-demo .idea i { background: #F3E2CA; color: #7A4410; } .note-demo .remind i { background: var(--sky); color: #2E4656; }
.fx-big { margin: 20px 0 10px; font: 600 40px/1.1 var(--mono); }
.fx-big small { display: block; font: 500 14px/1.5 var(--ui); color: var(--ink-3); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chips button { border: 1px solid var(--hair); background: transparent; color: var(--ink); border-radius: 999px; padding: 6px 11px; font: 600 12px/1 var(--mono); cursor: pointer; transition: background .2s; }
.fx-chips button[aria-pressed="true"], .fx-chips button:hover { background: var(--bg-2); }
.fine { font-size: 12.5px; color: var(--ink-3); }

/* steps */
.steps-band { background: var(--bg-2); padding: 92px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hair); }
.step { padding: 30px 26px 10px 0; }
.step .n { font: 500 15px/1 var(--mono); color: var(--oxblood); }
.step h3 { margin: 16px 0 8px; font: 500 30px/1.1 var(--display); }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split2 img { border-radius: 4px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.cta { text-align: center; padding: 104px 0; }
.cta h2 { margin: 0 0 14px; font: 500 clamp(40px, 5vw, 68px)/1.04 var(--display); }
.cta h2 span { color: var(--oxblood); }
.cta p { color: var(--ink-2); max-width: 32em; margin: 0 auto 30px; }
.foot { background: var(--umber); color: var(--umber-ink-2); padding: 46px 0; font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.foot b { color: var(--umber-ink); letter-spacing: .14em; font-weight: 500; }
.foot a { color: var(--amber); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* sign-up */
.start { display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; }
.start-main { display: flex; flex-direction: column; padding: 22px clamp(16px, 5vw, 72px) 40px; }
.start-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.start-form { margin: auto 0; display: grid; gap: 18px; width: 100%; max-width: 480px; padding-top: 36px; }
.start-form h1 { margin: 0; font: 500 clamp(40px, 4.6vw, 58px)/1.05 var(--display); }
.start-form p { margin: 0; color: var(--ink-2); }
.progress { display: grid; gap: 8px; }
.progress-track { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.progress-fill { height: 100%; background: var(--oxblood); border-radius: 999px; transition: width .7s var(--ease); }
.progress-text { font: 600 14px/1.3 var(--ui); color: var(--ink-2); }
label.field { display: grid; gap: 7px; font: 600 14px/1.3 var(--ui); color: var(--ink-2); }
.field input { font: 400 17px/1.3 var(--ui); color: var(--ink); background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 14px 15px; min-height: 52px; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--oxblood); box-shadow: 0 0 0 4px rgba(110, 44, 39, .12); }
.code-input { font: 600 30px/1 var(--mono) !important; letter-spacing: .4em; text-align: center; }
.err { color: #9B2F1E; font-weight: 600; margin: 0; min-height: 1.4em; }
.choice-grid { display: grid; gap: 12px; }
.choice { display: grid; gap: 4px; text-align: left; padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--hair); cursor: pointer; font: 400 15px/1.45 var(--ui); color: var(--ink-2); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.choice:hover { border-color: var(--oxblood); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(40, 24, 10, .1); }
.choice b { font: 600 18px/1.25 var(--ui); color: var(--ink); }
.drop { display: grid; gap: 6px; padding: 26px 22px; border-radius: 16px; border: 1.5px dashed var(--clay-2); background: color-mix(in srgb, var(--clay) 25%, var(--card)); cursor: pointer; transition: background .2s, border-color .2s; }
.drop:hover, .drop.over { border-color: var(--oxblood); }
.drop b { font: 600 18px/1.25 var(--ui); color: var(--ink); }
.drop span { font-size: 15px; color: var(--ink-2); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--oxblood); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.linkbtn:disabled { color: var(--ink-3); cursor: default; text-decoration: none; }
.start-photo { position: relative; background: var(--clay); }
.start-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: 12px; bottom: 12px; font: 500 12px/1 var(--ui); color: #FBF8F2; background: #1D1B18; padding: 6px 9px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-words { padding: 44px 16px; }
  .hero-panel { padding: 40px 16px 56px; }
  .float-card { left: auto; right: 4%; bottom: -10px; width: 230px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .tiles, .steps, .split2 { grid-template-columns: 1fr; }
  .start { grid-template-columns: 1fr; }
  .start-photo { min-height: 200px; order: -1; }
}
@media (max-width: 600px) {
  .head .wrap { gap: 10px; min-height: 66px; }
  .logo-word small, .hide-sm { display: none; }
  .logo-word b { font-size: 17px; letter-spacing: .1em; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-word { padding-left: 8px; }
  .head-actions { gap: 6px; }
  .head-actions .btn { padding: 0 12px; }
  .theme-toggle { width: 38px; height: 38px; }
  .start-top { flex-wrap: wrap; }
  .hero h1 { font-size: 46px; }
  .lede { font-size: 17px; }
  .strip { grid-template-columns: 1fr; }
  .strip div { border-left: 0 !important; border-top: 1px solid var(--hair); }
  .look-classic { padding: 12px; } .look-classic .lc-grid { grid-template-columns: 1fr; }
  .look-atelier { padding: 20px 14px; } .la-head b { font-size: 34px; } .la-table td { font-size: 17px; padding: 12px 4px; }
  .mini-table { font-size: 12px; } .mini-table td.rl { font-size: 12px; }
  .float-card { position: relative; right: auto; bottom: auto; left: auto; margin: -30px auto 0; transform: none; animation: none; }
  .tablet { transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
