/* Stayvoya website (11.18 design). Fonts: Newsreader and Inter, SIL OFL 1.1 – see /assets/fonts. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "SV Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/Newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "SV Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/Newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "SV Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/Newsreader-Italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "SV Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/Newsreader-Italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "SV Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/Inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "SV Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/Inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --font-sans: "SV Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;
  --font-serif: "SV Newsreader", Georgia, "Times New Roman", serif;
  --ink: #18221e;
  --ink-2: #414c47;
  --muted: #6b7570;
  --paper: #fbfaf7;
  --stone: #f1eee7;
  --line: #e6e2da;
  --line-strong: #d5cfc4;
  --brand: #1f4a3d;
  --brand-ink: #15382d;
  --brand-soft: #e6eee9;
  --accent: #9c7448;
  --accent-soft: #f4ece1;
  --shadow-lg: 0 40px 80px -30px rgba(24, 34, 30, 0.35);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  display: block;
  font: 600 12px/1.3 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand .sv-mark {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 0;
}
.brand .sv-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.brand .sv-word {
  font: 500 24px/1 var(--font-serif);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36;
}
nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav > a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition:
    color 0.15s,
    background 0.15s;
}
nav > a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.035);
}
nav > a.nav-host {
  margin-left: 6px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 600;
}
.lang {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px;
  border-radius: 9px;
  background: #efece6;
}
.lang button {
  height: 28px;
  min-width: 36px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(24, 34, 30, 0.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 15px/1.2 var(--font-sans);
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 1px 2px rgba(15, 40, 31, 0.3);
}
.btn.primary:hover {
  background: var(--brand-ink);
}
.btn.secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.btn.secondary:hover {
  border-color: #bdb6a9;
}
.btn.light {
  background: #fff;
  color: var(--brand-ink);
}
.btn.light:hover {
  background: #f1f5f2;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 64px;
}
.hero h1 {
  margin: 22px 0 26px;
  font: 340 clamp(50px, 5.8vw, 84px) / 1 var(--font-serif);
  letter-spacing: -0.032em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 340;
  color: var(--brand);
}
.hero-copy > p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}
.proof span:first-child {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

/* Phone preview of a real guest guide */
.device-area {
  position: relative;
  display: flex;
  justify-content: center;
}
.ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
      circle at 35% 35%,
      rgba(216, 173, 120, 0.28),
      transparent 60%
    ),
    radial-gradient(circle at 65% 65%, rgba(31, 74, 61, 0.16), transparent 62%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
}
.device {
  position: relative;
  width: 340px;
  padding: 11px;
  border-radius: 48px;
  background: #1a1f1d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--shadow-lg);
}
.device > * {
  background: var(--paper);
}
.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 12px;
  border-radius: 38px 38px 0 0;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.device-top span:first-child {
  font: 500 17px/1 var(--font-serif);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.device-photo {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.device-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 16, 0) 40%,
    rgba(10, 20, 16, 0.68)
  );
}
.device-photo > div {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  display: grid;
  color: #fff;
}
.device-photo small {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.85;
}
.device-photo strong {
  margin-top: 6px;
  font: 360 34px/1 var(--font-serif);
  letter-spacing: -0.02em;
}
.device-photo span {
  margin-top: 6px;
  font: italic 400 13px/1.2 var(--font-serif);
  opacity: 0.9;
}
.device-content {
  padding: 22px 20px 26px;
  border-radius: 0 0 38px 38px;
  text-align: center;
}
.micro {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.device-content > b {
  display: block;
  margin-top: 8px;
  font: 400 21px/1.15 var(--font-serif);
}
.device-content > p {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.tiles span {
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
}
.section-title {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-title h2,
.how h2,
.closing h2 {
  margin: 16px 0 18px;
  font: 360 clamp(38px, 4.4vw, 58px) / 1.04 var(--font-serif);
  letter-spacing: -0.026em;
}
.section-title p,
.how p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.features article {
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}
.emoji {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
}
.features h3 {
  margin-top: 22px;
  font: 400 24px/1.2 var(--font-serif);
  letter-spacing: -0.01em;
}
.features p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* How it works */
.how {
  background: var(--stone);
}
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 96px;
}
.how h2 {
  max-width: 480px;
}
.how .btn {
  margin-top: 30px;
}
.steps {
  display: grid;
}
.steps > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 30px 0;
  border-top: 1px solid var(--line-strong);
}
.steps > div:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.steps > div > span {
  font: 340 42px/1 var(--font-serif);
  color: var(--accent);
}
.steps h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.steps p {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--muted);
}

/* Pricing */
.pilot-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  max-width: 960px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid #ecdcc4;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 15px;
  color: #6d4f2c;
}
.pilot-offer b {
  font-weight: 600;
  color: #5b3f1f;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 34px 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.plan.featured {
  border-color: var(--brand);
  box-shadow:
    0 0 0 1px var(--brand),
    0 30px 60px -36px rgba(31, 74, 61, 0.45);
}
.plan h3 {
  font: 400 28px/1.15 var(--font-serif);
  letter-spacing: -0.015em;
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.plan-price {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}
.plan-price b {
  margin-right: 4px;
  font: 360 46px/1 var(--font-serif);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plan-extra {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.plan-once {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}
.plan-once b {
  font-weight: 600;
  color: var(--ink);
}
.plan ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.plan li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--ink-2);
}
.plan li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.6 6.6 9 1.2' fill='none' stroke='%231f4a3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center no-repeat,
    var(--brand-soft);
}
.plan .btn {
  width: 100%;
  margin-top: auto;
}
.plan-note {
  max-width: 960px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* Closing band */
.closing {
  padding: 120px 0;
  background: radial-gradient(
      70% 120% at 85% 0%,
      rgba(216, 173, 120, 0.2),
      transparent 60%
    ),
    var(--brand-ink);
  color: #fff;
  text-align: center;
}
.closing .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.closing h2 {
  margin: 18px auto 18px;
  max-width: 14ch;
}
.closing p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
}
.closing .btn {
  margin-top: 34px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 34px;
  padding-bottom: 40px;
  font-size: 13.5px;
  color: var(--muted);
}
.foot .brand .sv-mark {
  width: 26px;
  height: 26px;
}
.foot .brand .sv-word {
  font-size: 21px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid,
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  .top-inner {
    height: 60px;
  }
  nav > a:not(.nav-host) {
    display: none;
  }
  nav > a.nav-host {
    padding: 7px 10px;
    font-size: 13px;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .hero h1 {
    font-size: clamp(46px, 13vw, 64px);
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
  .device {
    width: 300px;
  }
  .device-photo {
    height: 220px;
  }
  .ambient {
    width: 420px;
    height: 420px;
  }
  .section,
  .closing {
    padding: 80px 0;
  }
  .section-title {
    margin-bottom: 40px;
  }
  .features,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps > div {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 24px 0;
  }
  .steps > div > span {
    font-size: 34px;
  }
  .plan {
    padding: 32px 24px 26px;
  }
}
@media (max-width: 400px) {
  .brand .sv-word {
    font-size: 21px;
  }
  .lang {
    margin-left: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 11.19: spring motion and touch feedback */
.btn,
.lang button,
nav > a {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn:active,
.lang button:active,
nav > a:active {
  transform: scale(0.97);
}
.features article,
.plan {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.plan {
  border-color: rgba(24, 34, 30, 0.06);
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(24, 34, 30, 0.04),
    0 8px 30px rgba(24, 34, 30, 0.05);
}
.plan:hover,
.sv-motion .plan.reveal.is-in:hover {
  transform: translateY(-3px);
  transition-delay: 0ms;
}
.sv-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
}
.sv-motion .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease-out,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* 11.20: what each step leaves you with */
.step-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
}
.step-meta::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4.2 3.6 6.6 9 1.2' fill='none' stroke='%231f4a3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center no-repeat,
    var(--brand-soft);
}
.features article:nth-child(3) .emoji {
  font: 500 15px/1 var(--font-serif);
  letter-spacing: -0.02em;
}

/* Little icons on the phone preview tiles */
.tiles span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}
.plan-intro {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #6d4f2c;
  font-size: 13px;
  font-weight: 600;
}

/* Monthly / yearly switch */
.billing-toggle {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 4px;
  border-radius: 12px;
  background: #ece8e0;
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font: 600 14px/1 var(--font-sans);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.billing-toggle button:active {
  transform: scale(0.97);
}
.billing-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(24, 34, 30, 0.08);
}
.billing-toggle small {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
}
.billing {
  display: flex;
  flex-direction: column;
}
#pricing:not([data-billing="yearly"]) .billing-yearly,
#pricing[data-billing="yearly"] .billing-monthly {
  display: none;
}
.plan-save {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
}

/* 11.25: pricing note and legal links */
.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.pricing-note a,
.foot-links a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.pricing-note a:hover,
.foot-links a:hover {
  color: var(--ink);
}
