/* Alonissos Now — site styles.
   One stylesheet, no framework, no build step, and deliberately no webfonts:
   the privacy page criticises loading third parties, so the site does not load
   any. Palette is taken from the app itself (IslandTheme.alonissos) rather than
   invented for the web — pine ink and sea blue on warm paper. */

:root {
  color-scheme: light dark;

  --paper:   #F7F5ED;   /* app background, light */
  --surface: #FFFDF7;
  --pine:    #1E3A33;   /* app primary */
  --graphite:#56514A;
  --sea:     #216B9E;   /* app accent */
  --rule:    #E3DFD3;
  --wind:    #1E3A33;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:   #0B1C18; /* app "Darkest" */
    --surface: #202A21; /* app "Darker" */
    --pine:    #E8F0EA;
    --graphite:#A6B3AC;
    --sea:     #5CA0CC;
    --rule:    #26332C;
    --wind:    #E8F0EA;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--pine);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Serif display comes from the system, matching the app's serif titles.
   Iowan and Palatino ship on Apple devices; Georgia everywhere else. */
h1, h2, h3, .answer, .price {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

header.site, main, footer {
  max-width: 44rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

header.site {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
header.site a.home {
  font-weight: 650;
  color: var(--pine);
  text-decoration: none;
}
header.site nav { display: flex; gap: 1.25rem; margin-left: auto; }
header.site nav a { color: var(--graphite); font-size: 0.95rem; }

a { color: var(--sea); text-underline-offset: 0.15em; }
a:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 3px;
}

p { margin: 0 0 1.15rem; }

/* ---- Signature: the live reading -------------------------------------- */

.reading {
  border-top: 2px solid var(--pine);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.75rem 2rem;
  margin-bottom: 3.5rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 0.75rem;
}

/* The answer is the hero. The wind is evidence, set small underneath it —
   any weather app shows wind; none of them name the beach. */
.answer {
  font-size: clamp(2.5rem, 8.5vw, 4rem);
  line-height: 1.02;
  color: var(--sea);
  margin: 0 0 0.9rem;
}

.because {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--graphite);
  max-width: 34rem;
  margin-bottom: 0.9rem;
}

.stamp {
  font-size: 0.85rem;
  color: var(--graphite);
  margin: 0;
}

/* ---- Thesis ------------------------------------------------------------ */

h1 {
  font-size: clamp(1.75rem, 4.6vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1.1rem;
}
/* Deliberately not accented. The blue belongs to the beach names in the live
   reading — they are the answer the page exists to give. One colour moment. */
h1 em { font-style: normal; }

.lede {
  font-size: 1.15rem;
  color: var(--graphite);
  max-width: 36rem;
  margin-bottom: 0;
}

.thesis { margin-bottom: 3.5rem; }

/* ---- Sections ---------------------------------------------------------- */

h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 650;
  margin: 0 0 1.5rem;
}

.does, .isnt { margin-bottom: 3.5rem; }

.row {
  padding-block: 1.4rem;
  border-top: 1px solid var(--rule);
}
.row:last-child { border-bottom: 1px solid var(--rule); }

.row h3 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}
.row p { margin: 0; color: var(--graphite); max-width: 36rem; }

.isnt p { max-width: 36rem; }

/* ---- Get --------------------------------------------------------------- */

.get {
  border-top: 2px solid var(--pine);
  padding-top: 1.75rem;
  margin-bottom: 3rem;
}
.price { font-size: 1.6rem; margin: 0 0 0.3rem; }
.soon { font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--sea); font-weight: 600; }
.soon-note { font-size: 0.95rem; color: var(--graphite); margin: 0; }

/* ---- Footer ------------------------------------------------------------ */

footer {
  border-top: 1px solid var(--rule);
  padding-block: 1.5rem 4rem;
  color: var(--graphite);
  font-size: 0.92rem;
}
footer a { color: var(--graphite); }
.colophon { margin-bottom: 0.4rem; }

/* ---- Legal pages keep the older card layout ---------------------------- */

.wrap { max-width: 44rem; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.0625rem; }
.card p:last-child { margin-bottom: 0; }
.meta { color: var(--graphite); font-size: 0.95rem; }
footer.site {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  color: var(--graphite); font-size: 0.95rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
}
footer.site a { color: var(--graphite); }
ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
