/* livyden.com: the layout from the Organic design handoff of 2026-10-12, the colours from the app's Paper palette since 2026-10-20. */
/* Caprasimo and Figtree, served from this site (SIL Open Font License); the files are Google Fonts' latin and latin-ext subsets. */
@font-face { font-family: 'Caprasimo'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/caprasimo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caprasimo'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/caprasimo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  color-scheme: light;
  /* Paper, the app's shipping face (WhiteNoise/Sources/Views/Palette.swift): forest-green ink on warm paper. */
  --bg: #f6f4ee; --glow: #ece9df; --sheet: #fbfaf6; --card: #ffffff; --text: #1c261a;
  --accent: #1f3a17; --accent-deep: #142a0e; --accent-light: #9baa8f; --on-accent: #f6f4ee;
  --play: #1f3a17; --play-hover: #2a4a20; --on-play: #f6f4ee;
  --n600: #7e8678; --n700: #6b7a62; --n800: #3f4a3a;
  --divider: color-mix(in srgb, #1c261a 10%, transparent);
  --ring: 0 0 0 1px color-mix(in srgb, #1c261a 5%, transparent);
  --heading: "Caprasimo", Georgia, serif; --body: "Figtree", system-ui, sans-serif;
  --shadow: 0 12px 32px color-mix(in srgb, #1c261a 22%, transparent);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: pretty; }
p { margin: 0 0 14px; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(24px, 5vw, 56px); }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 26px; padding-block: 24px; font-size: 14px; }
.nav .brand { font-family: var(--heading); font-size: 20px; margin-right: auto; color: inherit; text-decoration: none; white-space: nowrap; }
.nav a:not(.brand) { color: inherit; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

.kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 12px; }
.muted { color: var(--n800); }
.quiet { color: var(--n700); font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--heading); font-size: 15px; text-decoration: none; color: var(--text); border: 1px solid var(--divider); }
.btn:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.btn-primary { background: var(--play); color: var(--on-play); border-color: transparent; }
.btn-primary:hover { background: var(--play-hover); color: var(--on-play); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.phone { background: var(--play); border-radius: 46px; padding: 10px; box-shadow: var(--shadow); }
.phone img { border-radius: 36px; }
.phone-s { border-radius: 34px; padding: 7px; }
.phone-s img { border-radius: 27px; }

.hero, .product { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.hero { padding: 32px 0 24px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; margin-bottom: 28px; max-width: 640px; }
.hero .lead { font-size: 20px; line-height: 1.5; max-width: 560px; margin-bottom: 40px; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 640px; }
.rule { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--n800); }
.rule b { font-weight: 600; color: var(--text); }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--glow); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--heading); font-size: 15px; }
.hero-art { position: relative; padding-top: 24px; }
.hero-art::before { content: ""; position: absolute; inset: 60px -40px auto -40px; height: 420px; border-radius: 999px; background: var(--glow); }
.hero-art .phone { position: relative; width: 300px; margin: 0 auto; }
.product { padding: 56px 0 72px; }
.product h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }
.product p { max-width: 560px; }
.product-art { display: flex; gap: 16px; justify-content: center; align-items: flex-start; padding-top: 8px; }
.product-art .phone { width: 170px; }
.product-art .phone:first-child { margin-top: 40px; }

.contact { display: grid; grid-template-columns: max-content 1fr; gap: 12px 40px; padding: 36px 0 48px; border-top: 1px solid var(--divider); font-size: 15px; color: var(--n800); }
.contact dt { color: var(--n600); margin: 0; }
.contact dd { margin: 0; }

.page { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; padding: 24px 0 72px; }
.page aside { position: sticky; top: 24px; align-self: start; }
.page aside h1 { font-size: 48px; margin-bottom: 20px; }
.page aside ul { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.page aside ul a { text-decoration: none; }
.page main { font-size: 16px; line-height: 1.6; color: var(--n800); max-width: 640px; }
.page main h2 { font-size: 30px; color: var(--text); margin: 0 0 16px; scroll-margin-top: 24px; }
.page main section { margin-bottom: 48px; }
.callout { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border-radius: 28px; background: var(--card); color: var(--text); box-shadow: var(--ring); }
.callout p { margin: 0; font-size: 14px; }
.callout .big { font-family: var(--heading); font-size: 22px; line-height: 1.2; }
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--card); border-radius: 28px; padding: 22px 28px; box-shadow: var(--ring); }
.faq summary { font-family: var(--heading); font-size: 21px; line-height: 1.25; cursor: pointer; list-style: none; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 12px 0 0; }
.microphone { display: grid; grid-template-columns: 1.2fr .9fr 1fr; border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: var(--ring); font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.microphone > div { padding: 14px 18px; border-bottom: 1px solid var(--divider); }
.microphone > div:nth-last-child(-n+3) { border-bottom: 0; }
.microphone .th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--n700); }
.stored { display: grid; grid-template-columns: 180px 1fr; gap: 16px 24px; margin: 0; font-size: 15px; }
.stored dt { font-family: var(--heading); font-size: 17px; color: var(--text); }
.stored dd { margin: 0; }
ul.plain { margin: 0 0 14px; padding-left: 22px; }

.foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding: 28px 0 40px; border-top: 1px solid var(--divider); font-size: 14px; color: var(--n700); }
.foot span:first-child { margin-right: auto; }

@media (max-width: 860px) {
  .hero, .product, .page { grid-template-columns: 1fr; gap: 40px; }
  .hero-art::before { inset: 70px -40px auto -40px; height: 300px; }
  .hero-art .phone { width: 230px; }
  .rules { grid-template-columns: 1fr; }
  .rule { flex-direction: row; align-items: flex-start; gap: 14px; }
  .num { flex: none; width: 32px; height: 32px; font-size: 14px; }
  .page aside { position: static; }
  .page aside h1 { font-size: 40px; }
  .product-art .phone { width: 150px; }
  .microphone, .stored { grid-template-columns: 1fr; }
  .microphone > div { border-bottom: 0; padding-block: 6px; }
  .microphone > div:nth-child(3n+1) { padding-top: 16px; font-weight: 600; color: var(--text); }
  .microphone > div:nth-child(3n) { padding-bottom: 16px; border-bottom: 1px solid var(--divider); }
  .microphone .th { display: none; }
  .contact { grid-template-columns: 1fr; gap: 8px; }
  .contact dt { display: none; }
  .foot span:first-child { flex-basis: 100%; }
}

@media (max-width: 480px) {
  .nav { gap: 8px 18px; }
  .nav .brand { flex-basis: 100%; }
}
