/* Oldie marketing site. Calm, editorial, muted: the brand palette used
   softly, generous space, thin rules, organic panels, a quiet landscape. */

/* Self-hosted fonts (SIL Open Font License). */
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Figtree-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Nunito-Regular.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Nunito-Bold.ttf") format("truetype"); }

:root {
  /* Brand palette (owner-supplied). */
  --sunset: #e89b76;
  --blush: #d37a62;
  --dusk: #8f6f7d;
  --sage: #5e6b56;
  --olive: #3f4a3a;
  --sand: #eadccb;
  --cream: #f8f3eb;
  --taupe: #a6998c;

  /* Muted working tones derived from the palette. */
  --ink: var(--olive);
  --body-ink: #5e5453;
  --ink-soft: #7d746d;
  --label: #8c8378;
  --card: #fdfaf5;
  --panel: #f0e7db;
  --panel-dusk: #ebe3e6;
  --panel-sage: #e7eae2;
  --line: rgba(166, 153, 140, 0.35);
  --line-strong: rgba(166, 153, 140, 0.6);
  --sunset-soft: #edb99d;
  --blush-soft: #d9927e;
  --sage-soft: #7c8874;
  --max: 1040px;
  --r-organic: 36px 44px 32px 48px / 42px 32px 48px 36px;
}



* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--body-ink);
  background: var(--cream);
  position: relative;
}

/* Paper texture, faint. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0.6 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }

h1, h2, h3 {
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.45em;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.rule { display: block; width: 48px; height: 1px; background: var(--line-strong); margin: 16px 0 24px; }
.centered .rule { margin-left: auto; margin-right: auto; }

.label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 14px;
}

a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--olive); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Figtree", system-ui, sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 10px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--panel); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background 140ms ease, color 140ms ease, border-color 140ms ease; }
.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover { background: var(--sage); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--olive); }
.btn-warm { background: var(--blush-soft); color: #fff; }
.btn-warm:hover { background: var(--blush); }

/* Hero: headline on cream, the landscape in a rounded panel beside it. */
.hero { padding: 40px 0 16px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.wordmark { font-family: "Figtree", system-ui, sans-serif; font-weight: 800; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.hero-copy h1 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 700; color: var(--soft); letter-spacing: -0.01em; margin-bottom: 0; }
.hero-copy .lead { font-size: 1.1rem; max-width: 440px; color: var(--ink-soft); margin: 12px 0 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 0.9rem; color: var(--label); }
.hero-art-panel { position: relative; border-radius: var(--r-organic); overflow: hidden; aspect-ratio: 5 / 4; background: #e9cbb8; box-shadow: 0 24px 60px rgba(63, 74, 58, 0.10); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* The app icon replaces the drawn landscape once images/app-icon.png exists. */
.hero-art-panel .hero-icon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art-panel.has-icon { aspect-ratio: 1 / 1; box-shadow: none; background: transparent; }
.hero-art-panel.has-icon .hero-art { display: none; }
@media (max-width: 800px) {
  .hero { padding: 48px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-art-panel { aspect-ratio: 4 / 3; }
}

/* Full-width illustration band */
.band { margin: 8px auto 48px; }
.band img { display: block; width: 100%; height: auto; border-radius: var(--r-organic); aspect-ratio: 8 / 3; object-fit: cover; }

/* About: alternating circle photo and text rows */
.story-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: center; padding: 28px 0; }
.story-row.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.story-row.flip .circle { order: 2; justify-self: end; }
.story-row.flip .story-text { order: 1; }
.story-row:nth-child(1) .circle { transform: translateY(-8px); }
.story-row:nth-child(2) .circle { transform: translateY(18px); }
.story-row:nth-child(3) .circle { transform: translateY(-14px); }
.story-row:nth-child(4) .circle { transform: translateY(10px); }
.circle { position: relative; border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1; max-width: 100%; background: var(--panel); box-shadow: 0 16px 40px rgba(63, 74, 58, 0.10); }
.circle.c-lg { width: min(100%, 340px); }
.circle.c-md { width: min(100%, 270px); }
.circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-text h2 { margin-bottom: 0.3em; }
.story-text p { margin: 0; max-width: 52ch; }
@media (max-width: 720px) {
  .story-row, .story-row.flip { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
  .story-row.flip .circle { order: 1; justify-self: start; }
  .story-row.flip .story-text { order: 2; }
  .story-row .circle { transform: none; }
  .circle.c-lg { width: min(70%, 280px); }
  .circle.c-md { width: min(60%, 220px); }
}

/* Feel words */
.feel { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding: 28px 24px 8px; color: var(--label); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.feel span + span::before { content: "\00b7"; margin: 0 16px; color: var(--taupe); }

/* Sections and panels */
section { padding: 48px 0; }
.section-intro { max-width: 560px; margin-bottom: 20px; }
.section-intro p { color: var(--ink-soft); }
.centered { text-align: center; margin-left: auto; margin-right: auto; }

.panel { position: relative; overflow: hidden; border-radius: var(--r-organic); padding: 36px 36px; background: var(--panel); }
.panel.dusk { background: var(--panel-dusk); }
.panel.sage { background: var(--panel-sage); }
.panel.card { background: var(--card); border: 1px solid var(--line); }
.panel .leaf { position: absolute; width: 140px; height: auto; opacity: 0.32; pointer-events: none; }
.panel .leaf.tr { top: -16px; right: -20px; transform: rotate(18deg); }
.panel .leaf.bl { bottom: -26px; left: -18px; transform: rotate(-160deg); }
.panel .leaf.br { bottom: -30px; right: -16px; transform: rotate(200deg); }
.panel > * { position: relative; }
.panel > .leaf { position: absolute; }

.grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--line); }
.feature { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); margin-right: 24px; }
.feature .icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; margin-bottom: 12px; color: var(--sage-soft); }
.feature .icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 0.25em; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.feature.quiet .icon { color: var(--dusk); }

/* Pricing */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: 760px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 26px; border-radius: 30px 26px 34px 24px / 26px 34px 24px 30px; background: var(--card); border: 1px solid var(--line); }
.plan.featured { border-color: var(--sage-soft); }
.plan .price { font-family: "Figtree", system-ui, sans-serif; font-weight: 800; font-size: 2.1rem; margin: 6px 0 0; color: var(--ink); }
.plan .per { color: var(--ink-soft); margin-bottom: 20px; font-size: 0.95rem; }
.plan ul { padding-left: 18px; margin: 0 0 24px; color: var(--ink-soft); font-size: 0.97rem; }
.plan .btn { margin-top: auto; align-self: stretch; }
.plan li { margin-bottom: 7px; }
.badge { position: absolute; top: -12px; left: 28px; background: var(--sage); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }

/* Prose pages */
.prose { max-width: 700px; }
.prose h2 { margin-top: 2em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.muted { color: var(--ink-soft); }
.page-head { padding: 44px 0 12px; }
.page-head .wrap { max-width: 700px; }
.page-head p { color: var(--ink-soft); max-width: 600px; font-size: 1.08rem; }

/* About */
.figure { margin: 36px 0; padding: 10px; border-radius: 30px 36px 28px 40px / 36px 28px 40px 30px; background: var(--card); border: 1px solid var(--line); }
.figure img { width: 100%; height: auto; border-radius: 24px 30px 22px 34px / 30px 22px 34px 24px; display: block; }
.figure figcaption { padding: 12px 8px 4px; color: var(--ink-soft); font-size: 0.92rem; }
.gallery { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 8px; }
.gallery .figure { margin: 0; }
.two-up { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.quote { font-family: "Figtree", system-ui, sans-serif; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; margin: 0; color: var(--ink); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 18px 22px 16px 24px; padding: 4px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 44px; color: var(--ink); }
details p { color: var(--ink-soft); }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--olive); color: rgba(248, 243, 235, 0.82); padding: 40px 0 28px; font-size: 0.92rem; }
.site-footer a { color: rgba(248, 243, 235, 0.95); }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 32px; }
.site-footer h3 { color: rgba(248, 243, 235, 0.55); font-family: "Nunito", sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal { border-top: 1px solid rgba(248, 243, 235, 0.14); padding-top: 22px; color: rgba(248, 243, 235, 0.6); }
.site-footer .leaf { position: absolute; right: -30px; bottom: -40px; width: 220px; opacity: 0.16; transform: rotate(200deg); pointer-events: none; }

.disclaimer { font-size: 0.92rem; color: var(--ink-soft); }

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.55; }
  .wrap { padding: 0 18px; }
  .site-header .wrap { min-height: 54px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 28px; height: 28px; }
  .nav a { padding: 8px 10px; min-height: 40px; font-size: 0.9rem; }
  .hero { padding: 24px 0 8px; }
  .wordmark { font-size: 3rem; }
  .hero-copy h1 { font-size: 1.2rem; }
  .hero-copy .lead { font-size: 1rem; margin: 10px 0 18px; }
  .hero .actions .btn { min-height: 44px; padding: 10px 20px; }
  .hero-art-panel { width: min(100%, 300px); margin: 8px auto 0; }
  section { padding: 32px 0; }
  .section-intro { margin-bottom: 12px; }
  .grid { grid-template-columns: 1fr; }
  .feature { margin-right: 0; padding: 16px 0; }
  .feature .icon { width: 30px; height: 30px; margin-bottom: 8px; }
  .panel { padding: 26px 20px; border-radius: 24px 30px 22px 32px / 28px 22px 32px 26px; }
  .panel .leaf { width: 80px; opacity: 0.2; }
  .plans { gap: 14px; }
  .plan { padding: 22px 20px; }
  .band { margin: 0 auto 28px; }
  .band img { aspect-ratio: 16 / 9; }
  .page-head { padding: 28px 0 8px; }
  .site-footer { padding: 32px 0 24px; }
  .site-footer .cols { gap: 18px; grid-template-columns: 1fr 1fr; }
  .site-footer .leaf { display: none; }
}
