/* Greece 2026 — Cycladic editorial theme */

:root {
  /* Color palette — Santorini bright */
  --aegean: #1788D0;          /* iconic Santorini dome / sun-lit Aegean */
  --aegean-bright: #2BA4E8;   /* highlights, link hover, hero accents */
  --aegean-deep: #0E5A85;     /* text-safe deeper variant (wordmarks, body) */
  --aegean-ink: #084467;      /* deepest pressed state, dark text on light bg */
  --aegean-pale: #DEEFF9;     /* very pale, for backgrounds + outline focus */
  --coral: #E8704F;
  --coral-soft: #F4A78D;
  --olive: #7A8B5C;
  --whitewash: #FBFCFD;       /* a touch cooler/brighter, white-washed Greek wall */
  --whitewash-warm: #F4F1E8;
  --surface: #FFFFFF;
  --ink: #122236;             /* slight blue tint to ink */
  --ink-muted: #5A6478;
  --hairline: #E6EBEF;        /* cooler hairline */
  --sand: #F2EFE6;
  --sand-deep: #E8E2D4;
  --warn: #C9622E;
  --warn-soft: #C9622E1F;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --fs-display: 34px;
  --fs-h1: 26px;
  --fs-h2: 20px;
  --fs-h3: 17px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;
  --fs-tab: 11px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 80px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows (blue-tinted, Cycladic noon-sun soft) */
  --shadow-1: 0 1px 2px rgba(23, 136, 208, 0.05), 0 1px 1px rgba(23, 136, 208, 0.04);
  --shadow-2: 0 4px 12px rgba(23, 136, 208, 0.08), 0 2px 4px rgba(23, 136, 208, 0.05);
  --shadow-3: 0 12px 32px rgba(23, 136, 208, 0.12), 0 4px 8px rgba(23, 136, 208, 0.06);
  --shadow-inset: inset 0 0 0 1px rgba(230, 235, 239, 0.9);
  --shadow-hairline: inset 0 0 0 1px rgba(23, 136, 208, 0.07);
  --shadow-warm: 0 4px 14px rgba(122, 139, 92, 0.10), 0 2px 4px rgba(122, 139, 92, 0.06);
  --tile-inset: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(23, 136, 208, 0.06);

  /* Layout */
  --header-h: 52px;
  --tabbar-h: 56px;
  --max-w: 720px;

  /* Pico overrides */
  --pico-primary: var(--aegean);
  --pico-primary-hover: var(--aegean-deep);
  --pico-background-color: var(--whitewash);
  --pico-color: var(--ink);
  --pico-font-family: var(--font-body);
  --pico-font-size: var(--fs-body);
  --pico-line-height: 1.55;
  --pico-border-radius: var(--r-md);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--whitewash);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  padding-top: calc(env(safe-area-inset-top) + var(--header-h));
  padding-bottom: calc(env(safe-area-inset-bottom) + var(--tabbar-h) + var(--space-4));
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

.display { font-size: var(--fs-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.005em; }

a { color: var(--aegean); text-decoration: none; }
a:hover { color: var(--aegean-deep); }

button, .btn {
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.muted { color: var(--ink-muted); }
.sm { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }

.uppercase-track {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
  font-weight: 600;
}

img { display: block; max-width: 100%; }

/* App container */
.app {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Hide elements only visually */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

[x-cloak] { display: none !important; }
