/* Aura Med — website. Design v2 «Botanical», light palette by default,
   dark («Day» palette) follows the phone's system setting.
   No web fonts, no scripts, no cookies. */

:root {
  --bg: #F5F8F3;
  --bg-top: #E8F5EC;
  --surface: #FFFFFF;
  --border: #DCE8DF;
  --text: #10201A;
  --text-2: #4A5C53;
  --accent: #047857;
  --on-accent: #FFFFFF;
  --soft: #E6F2EA;
  --on-soft: #14382A;
  --todo-bg: #FFF1C7;
  --todo-text: #4A3300;
  --todo-border: #E0B23C;
  --note-bg: #FFF7E6;
  --shadow: 0 10px 30px rgba(16, 32, 26, .12);
  --radius: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1514;
    --bg-top: #121C1A;
    --surface: #17211F;
    --border: #25332F;
    --text: #ECF3EF;
    --text-2: #A6B8B2;
    --accent: #5EEAD4;
    --on-accent: #0B1410;
    --soft: #223029;
    --on-soft: #DDEBE3;
    --todo-bg: #3A3424;
    --todo-text: #FDE68A;
    --todo-border: #8A7230;
    --note-bg: #1F2A26;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.wrap-text { max-width: 48rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.brand svg { width: 40px; height: 40px; flex: none; }
.lang { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lang a, .lang span { display: inline-block; min-width: 48px; padding: 8px 12px; border-radius: 999px; text-align: center; font-weight: 600; text-decoration: none; }
.lang a { color: var(--on-soft); }
.lang a:hover { background: var(--soft); }
.lang [aria-current] { background: var(--soft); color: var(--on-soft); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-top), var(--bg)); padding: 40px 0 24px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.tagline { font-size: clamp(1.25rem, 3.2vw, 1.6rem); color: var(--accent); font-weight: 600; margin: 0 0 16px; }
.lead { font-size: 1.2rem; color: var(--text-2); margin: 0 0 24px; max-width: 34rem; }
.hero-shot { justify-self: center; }
.hero-shot img { width: min(300px, 78vw); }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 1.1rem; text-decoration: none; background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-disabled { background: transparent; color: var(--text-2); border: 2px dashed var(--text-2); cursor: not-allowed; }
.btn-note { display: block; margin-top: 8px; font-size: .95rem; color: var(--text-2); }

.shot { display: block; height: auto; border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); background: #131A1D; }

/* Sections */
section { padding: 40px 0; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.25; margin: 0 0 20px; }

.features { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 8px; font-size: 1.25rem; line-height: 1.3; }
.card p { margin: 0; color: var(--text-2); }
.icon { width: 48px; height: 48px; border-radius: 16px; background: var(--soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; }

.gallery { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 20px; margin: 0; list-style: none; scroll-snap-type: x mandatory; }
.gallery li { flex: none; scroll-snap-align: start; }
.gallery figure { margin: 0; }
.gallery img { width: 240px; }
.gallery figcaption { margin-top: 10px; font-size: 1rem; color: var(--text-2); text-align: center; }

.premium { background: var(--soft); color: var(--on-soft); border-radius: var(--radius); padding: 24px; }
.premium h2 { margin-bottom: 8px; }
.premium p { margin: 0; }

.disclaimer { border-left: 6px solid var(--accent); background: var(--surface); border-radius: 12px; padding: 16px 20px; color: var(--text-2); }
.disclaimer p { margin: 0; }

/* Legal documents */
.doc { padding: 32px 0 48px; }
.doc h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.2; margin: 0 0 20px; }
.doc h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.doc h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.doc p, .doc li { max-width: 46rem; }
.doc ul, .doc ol { padding-left: 1.5rem; }
.doc li { margin: 6px 0; }
.doc blockquote { margin: 0 0 20px; padding: 14px 18px; background: var(--note-bg); border: 1px solid var(--border); border-radius: 12px; }
.doc blockquote p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--soft); color: var(--on-soft); }
tr:last-child td { border-bottom: 0; }
.back { display: inline-block; margin-bottom: 16px; font-weight: 600; }

/* Placeholders left visible until the owner provides the data */
mark.todo { background: var(--todo-bg); color: var(--todo-text); border: 1px dashed var(--todo-border); border-radius: 6px; padding: 0 4px; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Contact */
.doc .contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.doc .contact-list li { max-width: none; margin: 0; }
.contact-list .label { display: block; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 32px 0; margin-top: 24px; font-size: 1rem; }
.site-footer nav ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { display: inline-block; padding: 4px 0; }
.site-footer p { margin: 0; color: var(--text-2); }

.notfound { text-align: center; padding: 64px 0; }
.notfound svg { width: 96px; height: 96px; }

@media (min-width: 760px) {
  .hero { padding: 64px 0 40px; }
  .hero .wrap { grid-template-columns: 1.2fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { overflow: visible; justify-content: space-between; }
  .gallery li { flex: 1 1 0; }
  .gallery img { width: 100%; }
  .premium { padding: 32px; }
}

@media (min-width: 1100px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .gallery { scroll-behavior: smooth; }
}

@media print {
  .site-header, .site-footer, .skip, .back { display: none; }
  body { background: #fff; color: #000; }
}
