/* A-RIA-O shared styles
   Layout concept: a resort "trail map" – quiet cream paper, deep-teal ink,
   numbered station markers and a dashed trail used only where content is a real sequence. */
:root {
  --cream: #F5F5DC;      /* brand ground */
  --paper: #FBFBEE;      /* raised surfaces */
  --teal: #276662;       /* brand primary */
  --teal-deep: #163C39;  /* text + dark bands */
  --sage: #BBDBA2;       /* brand secondary */
  --sage-soft: #DDEBCB;
  --brass: #B5873C;      /* treasure marker, used sparingly */
  --ink: #163C39;
  --ink-soft: #4A625F;   /* teal-biased muted text */
  --line: rgba(39, 102, 98, .2);

  --f-display: "Young Serif", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --s-1: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);  /* hero */
  --s-2: clamp(1.8rem, 1.4rem + 1.8vw, 2.7rem);  /* section */
  --s-3: 1.3rem;                                  /* card title */
  --s-body: 1.0625rem;
  --s-small: .875rem;
  --s-label: .75rem;

  --radius: 14px;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s-body);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--teal-deep); color: var(--cream); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--s-1); }
h2 { font-size: var(--s-2); }
h3 { font-size: var(--s-3); line-height: 1.25; }
p { margin: 0; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.label {
  font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); display: inline-flex; align-items: center; gap: .6em;
}
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--cream); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-deep); font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .02em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid var(--teal-deep);
  background: var(--teal-deep); color: var(--cream); transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn.ghost { background: transparent; color: var(--teal-deep); }
.btn.ghost:hover { background: var(--sage-soft); color: var(--teal-deep); border-color: var(--teal-deep); }
.btn.small { padding: 10px 16px; font-size: .9rem; }
.btn.light { background: var(--sage); color: var(--teal-deep); border-color: var(--sage); }
.btn.light:hover { background: var(--cream); border-color: var(--cream); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: var(--s-small); color: var(--ink-soft); }

/* Sections */
section { padding-block: clamp(64px, 8vw, 112px); }
.sec-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.band-dark { background: var(--teal-deep); color: var(--cream); }
.band-dark .label { color: var(--sage); }
.band-dark .lede, .band-dark .fine { color: color-mix(in srgb, var(--cream) 78%, var(--teal)); }
.band-dark a { color: var(--sage); }
.band-paper { background: var(--paper); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero .wrap { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.08fr .92fr; } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--teal); background: linear-gradient(transparent 62%, var(--sage) 62%, var(--sage) 92%, transparent 92%); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 4px 0 0; list-style: none; font-size: .95rem; color: var(--ink-soft); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--ink-soft); }
.card .who { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }

/* Trail steps (real sequence) */
.trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
@media (min-width: 900px) { .trail { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.trail li { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.marker {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 500; font-size: .95rem;
  background: var(--cream); color: var(--teal-deep); border: 1.5px solid var(--teal-deep);
  position: relative; z-index: 1;
}
.trail li:last-child .marker { background: var(--brass); border-color: var(--brass); color: var(--paper); }
@media (min-width: 900px) {
  .trail::before { content: ""; position: absolute; top: 26px; inset-inline: 26px; border-top: 2px dashed var(--teal); opacity: .45; }
}
.band-dark .marker { background: var(--teal-deep); color: var(--cream); border-color: var(--sage); }
.band-dark .trail::before { border-color: var(--sage); }
.band-dark .trail li p { color: color-mix(in srgb, var(--cream) 78%, var(--teal)); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: start; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; }
tbody th { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; width: 26%; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* Pricing */
.plans { display: grid; gap: 20px; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; align-content: start; position: relative; }
.plan.featured { border: 2px solid var(--teal-deep); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--brass); color: var(--paper); font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price b { font-family: var(--f-display); font-weight: 400; font-size: 3.4rem; line-height: 1; }
.price span { color: var(--ink-soft); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 16px; height: 9px; border-inline-start: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translate(1px, 6px); }
[dir="rtl"] .ticks li::before { transform: scaleX(-1) rotate(-45deg) translate(1px, 6px); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--f-display); font-size: 1.2rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); max-width: 44rem; }

/* Footer */
.site-foot { background: var(--teal-deep); color: color-mix(in srgb, var(--cream) 80%, var(--teal)); font-size: .95rem; }
.site-foot .wrap { padding-block: 48px; display: grid; gap: 28px; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot .brand { color: var(--cream); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--cream); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .h { font-family: var(--f-mono); font-size: var(--s-label); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.copy { border-top: 1px solid rgba(245,245,220,.15); padding-top: 20px; grid-column: 1 / -1; font-size: var(--s-small); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid var(--sage); outline-offset: 0; }
.form-msg { padding: 14px 16px; border-radius: 10px; background: var(--sage-soft); color: var(--teal-deep); }

/* Video */
.video-frame { border-radius: 18px; overflow: hidden; background: var(--teal-deep); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(22, 60, 57, .45); }
.video-frame video { display: block; width: 100%; height: auto; background: var(--teal-deep); }
.video-wide { max-width: 980px; margin-inline: auto; }
.video-wide .video-frame { aspect-ratio: 16 / 9; max-width: 100%; }
.video-wide .video-frame video { height: 100%; object-fit: cover; }
.video-split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) { .video-split { grid-template-columns: minmax(0, 360px) 1fr; } }
.video-split .video-frame { max-width: 360px; width: 100%; justify-self: center; aspect-ratio: 498 / 1080; }
.video-split .video-frame video { height: 100%; object-fit: cover; }
.video-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 16px; font-size: var(--s-small); color: var(--ink-soft); }

/* Hero with real video */
.hero-media { min-width: 0; width: 100%; }
.video-frame.wide { aspect-ratio: 16 / 9; max-width: 100%; }
.video-frame.wide video, .video-frame.tall video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 940px) { .hero-with-video .wrap { grid-template-columns: .9fr 1.1fr; } }
.hero-with-video h1 { font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.6rem); }
.portrait .video-frame.tall { aspect-ratio: 442 / 960; width: min(300px, 100%); margin-inline: auto; }
.portrait .video-caption { max-width: 300px; margin-inline: auto; justify-content: center; text-align: center; }
@media (min-width: 940px) { .portrait-hero .wrap { grid-template-columns: 1.3fr .7fr; } }

/* Hero illustration */
.scene { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.scene svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 4.5s ease-in-out infinite; transform-origin: center; }
  .pulse { animation: pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { opacity: .7; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.6); } }
