/* Carremy site. Colours from design/tokens.json (ground, surface, line, text, text-soft, moss, cat-sleep). No web font
   service: the app's two OFL fonts are served from this site. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-VariableFont.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-VariableFont.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --ground: #FAF6F0; --surface: #FFFFFF; --surface-2: #F2ECE3; --line: #E6DED2;
  --text: #1D2A26; --text-soft: #5E6F69; --moss: #2F5D50; --moss-deep: #213F37; --on-moss: #FFFFFF;
  --mint: #7FD1B9; --mint-ink: #0E2621; --kicker: #277860; --attention: #9C3D2A;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #1B1917; --surface: #26221F; --surface-2: #302B27; --line: #3A3430;
          --text: #F7F1E8; --text-soft: #CFE3DC; --moss: #8FC3B2; --moss-deep: #0F2A24; --on-moss: #0F1E1A;
          --kicker: #7FD1B9; --attention: #F0A08C; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 17px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; }
a { color: var(--moss); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 48px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 22px "Fraunces", Georgia, serif; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav.langs { display: flex; gap: 4px; }
nav.langs a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--text-soft); font-size: 15px; }
nav.langs a[aria-current="true"] { background: var(--surface-2); color: var(--text); font-weight: 600; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; font-weight: 600; }
h1 { font-size: 36px; margin: 40px 0 12px; }
h2 { font-size: 24px; margin: 36px 0 10px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
.lead { font-size: 19px; color: var(--text-soft); margin: 0 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; margin: 18px 0; }
.card h2 { margin-top: 0; }
.kicker { color: var(--kicker); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
ul.ticks { padding-left: 0; list-style: none; margin: 0; }
ul.ticks li { padding-left: 28px; position: relative; margin: 6px 0; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
          background: var(--moss); color: var(--on-moss); font-weight: 700; text-decoration: none; border: 0; font-size: 17px; cursor: pointer; font-family: inherit; }
.button.secondary { background: var(--surface-2); color: var(--text); }
.button[aria-disabled="true"] { opacity: .6; cursor: default; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.small { font-size: 15px; color: var(--text-soft); }
.note { border-left: 3px solid var(--attention); padding: 2px 0 2px 14px; }
.placeholder { background: #FFE9A8; color: #3A2A08; padding: 0 4px; border-radius: 4px; }
ol.steps { padding-left: 22px; }
ol.steps li { margin: 10px 0; }
.legal h2 { font-size: 21px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); }
.draft { background: var(--surface-2); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
footer.bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-soft); }
footer.bottom a { margin-right: 14px; }
[hidden] { display: none !important; }
.kind-proche [data-kind="parent"], .kind-parent [data-kind="proche"] { display: none !important; }
[data-when] { display: none; }
[data-store="testflight"] [data-when="testflight"], [data-store="app_store"] [data-when="app_store"], [data-store="none"] [data-when="none"] { display: inline; }
.linkfield { width: 100%; min-height: 44px; margin-top: 8px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
