/* tuckoo.app: one stylesheet, no web fonts, no scripts. Dusk palette from style sheet v1. */
:root {
  --bg: #0E1324;        /* dusk */
  --surface: #1A2140;   /* night */
  --line: #262E57;      /* twilight */
  --text: #F1E6D2;      /* cream */
  --muted: #A8A196;     /* sand */
  --accent: #8E8CF0;    /* indigo */
  --warm: #F2B872;      /* lamp */
  --blanket: #5B58C9;
  --cheek: #E7A9A0;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FBF8F3; --surface: #FFFFFF; --line: #E6E0D6; --text: #1F2235;
    --muted: #6B6660; --accent: #4F4BC4; --warm: #A9661B;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-wrap: break-word; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
main, header, footer { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 8px; }
header a.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }
nav a.lang { display: inline-flex; align-items: center; gap: 6px; }
.flag { border-radius: 2px; box-shadow: 0 0 0 1px var(--line); flex: none; }
h1, h2, h3 { font-family: ui-rounded, "SF Pro Rounded", -apple-system, "Segoe UI", sans-serif; line-height: 1.2; }
h1 { font-size: 34px; margin: 28px 0 8px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 22px 0 4px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--accent); }
.hero { text-align: center; padding: 40px 0 16px; }
.hero h1 { font-size: 40px; margin-top: 16px; }
.hero p { font-size: 19px; color: var(--muted); margin: 8px auto 0; max-width: 30em; }
/* The line above the headline that names the app ("The Tuckoo app for iPhone and Apple Watch"). */
.hero .kicker { font-size: 15px; font-weight: 600; color: var(--accent); margin: 16px auto 0; }
.hero .kicker + h1 { margin-top: 4px; }
.badge { display: inline-block; margin-top: 24px; padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
/* Apple's official badge, unmodified: at least 40 px high, clear space a quarter of its height. */
.badge-link { display: inline-block; margin-top: 24px; padding: 12px; line-height: 0; }
.badge-link img { height: 48px; width: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; margin: 32px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; margin: 20px 0; }
.todo { background: var(--warm); color: #1F2235; padding: 0 4px; border-radius: 4px; font-weight: 600; }
footer { padding-top: 32px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 14px; white-space: nowrap; display: inline-block; }
@media (max-width: 480px) { h1 { font-size: 28px; } .hero h1 { font-size: 32px; } }

.langs a { white-space: nowrap; }
.langs a[aria-current] { color: var(--text); text-decoration: none; }

.langmenu { position: relative; font-size: 15px; }
.langmenu summary { list-style: none; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary:hover, .langmenu[open] summary { color: var(--text); }
.langmenu > div { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; display: flex; flex-direction: column; min-width: 190px;
  padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.langmenu > div a { padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.langmenu > div a:hover { background: var(--line); }
.langmenu > div a[aria-current] { font-weight: 600; }
