/* ==========================================================================
   Almore Digital — shared stylesheet
   System fonts only. No external requests. No JavaScript required.
   ========================================================================== */

:root {
  /* Color */
  --paper: #faf8f4;          /* warm off-white page background */
  --paper-alt: #f3f0ea;      /* alternate section tint */
  --surface: #ffffff;        /* cards */
  --ink: #15181a;            /* near-black text */
  --ink-2: #3a3f43;
  --muted: #646a6e;
  --line: #e7e2d9;
  --line-strong: #d8d2c6;
  --mint: #3eb489;           /* accent */
  --mint-strong: #1d8059;    /* accent for text/buttons (AA contrast) */
  --mint-deep: #15664a;
  --mint-tint: #e5f4ec;
  --teal-950: #082520;       /* footer */
  --teal-900: #0b2e27;
  --teal-800: #0f3d33;       /* gradient start */
  --teal-700: #145247;
  --teal-600: #1d7a5f;
  --mint-glow: #8fe8c4;
  --mint-wash: #eef7f2;      /* very light mint section */
  --night: var(--teal-950);
  --night-2: rgba(255, 255, 255, .09);
  --night-text: #a9c2b9;
  --grad-line: linear-gradient(90deg, transparent, rgba(62, 180, 137, .55) 25%, rgba(15, 61, 51, .45) 75%, transparent);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
          "Apple Color Emoji", "Segoe UI Emoji";
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.625rem, 3vw, 2.25rem);
  --fs-h1: clamp(2.2rem, 5vw, 3.5rem);

  /* Spacing (4/8px scale) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 120px;

  /* Shape & motion */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-1: 0 1px 2px rgba(21, 24, 26, .04), 0 2px 6px rgba(21, 24, 26, .04);
  --shadow-2: 0 2px 4px rgba(21, 24, 26, .04), 0 12px 32px -8px rgba(21, 24, 26, .12);
  --shadow-3: 0 4px 8px rgba(21, 24, 26, .05), 0 24px 48px -12px rgba(21, 24, 26, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 180ms;

  --max: 1100px;
  --measure: 65ch;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
::selection { background: rgba(62, 180, 137, .28); color: var(--ink); }

h1, h2, h3 { text-wrap: balance; color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 var(--s-4); font-weight: 700; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.028em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.012em; line-height: 1.3; }
p { margin: 0 0 var(--s-4); }
strong { color: var(--ink); font-weight: 650; }

a {
  color: var(--mint-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(29, 128, 89, .35);
  transition: color var(--t) var(--ease), text-decoration-color var(--t) var(--ease);
}
a:hover { color: var(--mint-deep); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s-5); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--s-3); top: var(--s-3); background: var(--surface); color: var(--ink); padding: var(--s-2) var(--s-3); z-index: 100; border-radius: var(--radius-sm); box-shadow: var(--shadow-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; flex-wrap: wrap; }
.brand {
  font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.03em; color: var(--ink);
  text-decoration: none; padding: var(--s-2) 0;
}
.brand:hover { color: var(--ink); }
.brand-dot { color: var(--mint); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-1); }
.site-nav a {
  display: block; padding: var(--s-2) var(--s-3); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 550; color: var(--ink-2); text-decoration: none;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.site-nav a:hover { color: var(--ink); background: rgba(21, 24, 26, .05); }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 12px 10px; margin-right: -10px; border-radius: var(--radius-sm); }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: "";
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav-toggle-label span::before { position: absolute; top: -6px; }
.nav-toggle-label span::after { position: absolute; top: 6px; }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 2px solid var(--mint); outline-offset: 2px; }

@media (max-width: 760px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none; width: 100%;
    border-top: 1px solid var(--line); padding: var(--s-1) 0 var(--s-3);
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { font-size: var(--fs-base); padding: var(--s-3) 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a:hover { background: none; color: var(--mint-strong); }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 46px; padding: 0 var(--s-5); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: -0.005em; text-decoration: none;
  background: var(--mint-strong); color: #fff; border: 1px solid var(--mint-strong);
  box-shadow: 0 1px 2px rgba(21, 102, 74, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn:hover { background: var(--mint-deep); border-color: var(--mint-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.btn-outline:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }

.pill-soon {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 14px 6px 12px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em; color: var(--mint-deep);
  background: var(--mint-tint); border: 1px solid rgba(62, 180, 137, .35);
  cursor: default; user-select: none;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(62, 180, 137, .22); }

/* ---------- Sections ---------- */
.section { padding: var(--s-9) 0; }
.section-alt { background: var(--paper-alt); }
.section-mint { background: var(--mint-wash); }
.section-alt, .section-mint { position: relative; }
.section-alt::before, .section-alt::after, .section-mint::before, .section-mint::after {   /* gradient dividers */
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--grad-line);
}
.section-alt::before, .section-mint::before { top: 0; }
.section-alt::after, .section-mint::after { bottom: 0; }
.section-tight { padding-top: 0; }
.eyebrow {
  display: block; margin: 0 0 var(--s-3);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-strong);
}
.lead { font-size: var(--fs-lg); line-height: 1.65; color: var(--muted); max-width: 620px; }
#apps .lead { margin-bottom: var(--s-7); }

/* ---------- Hero: gradient showcase with CSS phone mockups ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--s-10) 0 112px;
  color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(ellipse 55% 60% at 88% 6%, rgba(143, 232, 196, .55), rgba(143, 232, 196, 0) 70%),
    radial-gradient(ellipse 60% 80% at 10% 110%, rgba(8, 37, 32, .75), rgba(8, 37, 32, 0) 70%),
    linear-gradient(135deg, var(--teal-800) 0%, var(--teal-700) 38%, var(--teal-600) 72%, var(--mint) 100%);
}
.hero::before {           /* faint grid + grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 160px 160px, 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 60% 35%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 85% 85% at 60% 35%, #000 30%, transparent 85%);
  opacity: .7;
}
.hero::after {            /* soft light bloom */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 640px; height: 640px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 65%);
}
.hero h1 { color: #fff; max-width: 13em; margin-bottom: var(--s-5); }
.hero .lead { color: rgba(255, 255, 255, .82); margin-bottom: 0; }
.hero .eyebrow { color: var(--mint-glow); margin-bottom: var(--s-4); }
.hero .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; margin-top: var(--s-6); }
.hero .breadcrumb, .hero .breadcrumb a { color: rgba(255, 255, 255, .72); }
.hero .breadcrumb a:hover { color: #fff; }
.hero .pill-soon { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .pill-soon .pill-dot { background: var(--mint-glow); box-shadow: 0 0 0 3px rgba(143, 232, 196, .25); }
.hero .app-icon { box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); }
:where(.hero) :focus-visible { outline-color: #fff; }

.btn-light { background: #fff; color: var(--mint-deep); border-color: #fff; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); }
.btn-light:hover { background: var(--mint-wash); border-color: var(--mint-wash); color: var(--teal-800); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.hero-showcase { padding: 104px 0 96px; }

/* Phone mockups (pure CSS frame around a real screenshot) */
.hero-devices { position: relative; height: 540px; }
.phone {
  --w: 236px;
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: var(--w);
  padding: 9px; border-radius: 40px;
  background: linear-gradient(145deg, #2a302e, #0c0f0e 40%, #1b201e);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    0 2px 4px rgba(0, 0, 0, .25),
    0 30px 60px -18px rgba(3, 20, 16, .65),
    0 60px 100px -30px rgba(3, 20, 16, .55);
}
.phone::before {          /* punch-hole camera */
  content: ""; position: absolute; z-index: 2; top: 16px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #050706; box-shadow: inset 0 0 0 2px #1d2321;
}
.phone::after {           /* side button */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 56px; border-radius: 0 3px 3px 0; background: #1a1f1d;
}
.phone-screen { width: 100%; aspect-ratio: 9 / 16; border-radius: 31px; overflow: hidden; background: #f4faf6; padding-top: 0; }
.phone-screen img { width: 100%; height: 100%; object-fit: contain; }
.phone-center { z-index: 3; transform: translate(-50%, -50%) rotate(0deg); }
.phone-left   { z-index: 1; transform: translate(calc(-50% - 168px), calc(-50% + 34px)) rotate(-8deg) scale(.9); }
.phone-right  { z-index: 2; transform: translate(calc(-50% + 160px), calc(-50% + 22px)) rotate(6deg) scale(.9); }
.phone-left, .phone-right { filter: saturate(.95); }
@media (prefers-reduced-motion: no-preference) {
  .phone-center { animation: float-c 7s ease-in-out infinite; }
  .phone-left   { animation: float-l 8s ease-in-out infinite; }
  .phone-right  { animation: float-r 9s ease-in-out infinite; }
}
@keyframes float-c { 50% { transform: translate(-50%, calc(-50% - 10px)) rotate(0deg); } }
@keyframes float-l { 50% { transform: translate(calc(-50% - 168px), calc(-50% + 24px)) rotate(-8deg) scale(.9); } }
@keyframes float-r { 50% { transform: translate(calc(-50% + 160px), calc(-50% + 12px)) rotate(6deg) scale(.9); } }
.hero-devices-single { height: 520px; }

@media (max-width: 1080px) {
  .phone { --w: 210px; }
  .phone-left  { transform: translate(calc(-50% - 140px), calc(-50% + 30px)) rotate(-8deg) scale(.88); }
  .phone-right { transform: translate(calc(-50% + 134px), calc(-50% + 20px)) rotate(6deg) scale(.88); }
  .phone-left, .phone-right { animation: none; }
  .hero-devices { height: 480px; }
}
@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-devices, .hero-devices-single { height: auto; display: flex; justify-content: center; padding: var(--s-2) 0 var(--s-4); }
  .phone-left, .phone-right { display: none; }
  .phone-center { position: relative; left: auto; top: auto; transform: none; --w: 230px; animation: none; }
}

/* ---------- App cards (add one <article class="app-card"> per app) ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s-5); }
@media (max-width: 400px) { .app-grid { grid-template-columns: 1fr; } }
.app-card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.app-card-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); }
.app-icon { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; box-shadow: 0 6px 16px -6px rgba(29, 128, 89, .45); }
.app-card h3 { margin: 0; font-size: 1.25rem; }
.app-card h3 a { color: var(--ink); text-decoration: none; }
.app-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.app-card p { color: var(--muted); margin: 0; }
.app-card .card-actions {
  margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3);
}
.app-card .card-actions > * { position: relative; z-index: 1; }
.app-card .card-actions a:not(.btn) { font-size: var(--fs-sm); font-weight: 600; text-decoration: none; color: var(--ink); }
.app-card .card-actions a:not(.btn)::after { content: " \2192"; color: var(--mint-strong); }
.app-card .btn { min-height: 40px; padding: 0 var(--s-4); }

/* ---------- Split / checklist ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-8); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }
.checklist {
  list-style: none; padding: var(--s-2) var(--s-5); margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1);
}
.checklist li { padding: var(--s-4) 0 var(--s-4) 36px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: calc(var(--s-4) + 3px); width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint-tint);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: calc(var(--s-4) + 9px); width: 8px; height: 5px;
  border-left: 2px solid var(--mint-strong); border-bottom: 2px solid var(--mint-strong); transform: rotate(-45deg);
}

/* ---------- Contact panel ---------- */
.contact-panel {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); flex-wrap: wrap;
  padding: var(--s-7);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  position: relative; overflow: hidden;
}
.contact-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mint); }
.contact-panel h2 { margin-bottom: var(--s-2); }
.contact-panel p:last-child { margin: 0; color: var(--muted); }

/* ---------- Generic cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); box-shadow: var(--shadow-1); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-5); }
.info-grid h3 { font-size: var(--fs-xs); color: var(--mint-strong); text-transform: uppercase; letter-spacing: .14em; margin-bottom: var(--s-3); }
.info-grid p, .info-grid address { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
address { font-style: normal; }

/* ---------- App landing ---------- */
.app-hero { display: flex; gap: var(--s-6); align-items: center; flex-wrap: wrap; }
.app-hero > div { flex: 1; min-width: 260px; }
.app-hero .app-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 18px 40px -14px rgba(29, 128, 89, .55); }
.app-hero h1 { max-width: none; margin-bottom: var(--s-3); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5);
  box-shadow: var(--shadow-1); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.feature h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.feature p { color: var(--muted); margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--s-4);
  background: var(--mint-tint); color: var(--mint-strong);
}
.feature-icon svg { width: 20px; height: 20px; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.link-list li { font-size: var(--fs-sm); }
.link-list li > a:only-child {
  display: inline-block; padding: var(--s-2) var(--s-4); border-radius: 999px; text-decoration: none; font-weight: 600;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.link-list li > a:only-child:hover { border-color: var(--mint); color: var(--mint-strong); }

/* ---------- Page heads & breadcrumbs ---------- */
.page-head {
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
  margin-bottom: var(--s-8);
}
.page-head h1 { font-size: clamp(2rem, 4.2vw, 2.875rem); margin-bottom: var(--s-4); }
.page-head .lead { margin-bottom: 0; }
.page-head + .section { padding-top: 0; }
.breadcrumb { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint-strong); }
.hero .breadcrumb { margin-bottom: var(--s-6); }

.updated {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin: 0; padding: 5px 12px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.updated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

/* ---------- Document / policy layout ---------- */
.prose { max-width: var(--measure); }
.prose h2 {
  font-size: 1.375rem; letter-spacing: -0.02em;
  margin: var(--s-8) 0 var(--s-4); padding-top: var(--s-5);
  border-top: 1px solid var(--line); position: relative;
}
.prose h2::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 2px; background: var(--mint); }
.prose h3 { font-size: 1.0625rem; margin: var(--s-6) 0 var(--s-2); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--s-5); }
.prose li { margin-bottom: var(--s-2); padding-left: var(--s-1); }
.prose ul li::marker { color: var(--mint); }
.prose ol li::marker { color: var(--mint-strong); font-weight: 700; }
.callout {
  margin: var(--s-6) 0; padding: var(--s-5) var(--s-5) var(--s-5) calc(var(--s-5) + 4px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; overflow: hidden; box-shadow: var(--shadow-1);
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mint); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Draft alternatives (policy text awaiting a final app build) ---------- */
.draft-note {
  background: #fff6dc; border: 1px solid #efd894; color: #5c4400;
  border-radius: var(--radius-sm); padding: var(--s-4) var(--s-5); margin: 0 0 var(--s-6); font-size: var(--fs-sm);
}
.draft-block { border: 2px dashed #e0b84a; border-radius: var(--radius); padding: var(--s-2) var(--s-5) var(--s-3); margin: var(--s-5) 0; }
.draft-block h2 { margin-top: var(--s-5); }
.draft-label {
  display: inline-block; margin: var(--s-3) 0 var(--s-2); font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: #fff6dc; color: #7a5a00; padding: 3px 10px; border-radius: 999px;
}
.todo { background: #fdeaea; color: #a12b2b; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(62, 180, 137, .14), transparent 70%),
    var(--night);
  color: var(--night-text);
  font-size: var(--fs-sm); line-height: 1.7;
  padding: var(--s-8) 0 var(--s-6);
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--teal-800), var(--mint), var(--mint-glow)); }
.site-footer a { color: #e6f3ee; text-decoration: none; transition: color var(--t) var(--ease); }
.site-footer a:hover { color: var(--mint); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s-7); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.site-footer h2 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #7fa497; margin: 0 0 var(--s-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-2); }
.site-footer p { margin: 0 0 var(--s-3); }
.site-footer .footer-brand { color: #fff; font-weight: 750; font-size: 1.25rem; letter-spacing: -0.03em; margin-bottom: var(--s-3); }
.footer-about p:not(.footer-brand) { max-width: 34ch; }
.footer-legal-name { color: #e6f3ee; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid var(--night-2); margin-top: var(--s-7); padding-top: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap;
  font-size: var(--fs-xs); color: #7fa497;
}

/* ---------- Utilities ---------- */
.mt-sm { margin-top: var(--s-2); }
.mb-0 { margin-bottom: 0; }

/* ---------- Small screens (tested at 375px) ---------- */
@media (max-width: 560px) {
  :root { --fs-base: 1rem; --fs-lg: 1.0625rem; }
  .container { padding: 0 20px; }
  .section { padding: var(--s-8) 0; }
  .hero, .hero-showcase { padding: 72px 0 var(--s-7); }
  .hero::after { width: 360px; height: 360px; right: -160px; top: -160px; }
  .hero .actions .btn { flex: 1 1 auto; }
  .page-head { padding: var(--s-8) 0 var(--s-6); margin-bottom: var(--s-7); }
  .app-card { padding: var(--s-5); }
  .app-hero { gap: var(--s-5); }
  .app-hero .app-icon { width: 88px; height: 88px; border-radius: 22px; }
  .contact-panel { padding: var(--s-6) var(--s-5); }
  .contact-panel .btn { width: 100%; }
}

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