/* Nestor 07 · Scandi
   Warm off-white, fjord blue, slate and sage. Soft cards, line drawings, room to breathe. */

:root {
  --bg: #f6f3ee;
  --tint: #eee9e1;
  --card: #fffdfa;
  --ink: #26313b;
  --slate: #2c3640;
  --muted: #56616c;
  --fjord: #35597a;
  --fjord-dark: #274560;
  --fjord-soft: #dde6ee;
  --sage: #9db3a3;
  --sage-deep: #4a6a57;
  --sage-text: #3f5f4c;
  --sage-soft: #e3ebe4;
  --sand: #efe3cf;
  --line: #e4ddd2;
  --radius: 24px;
  --serif: "Spectral", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--slate);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
}
strong {
  font-weight: 500;
}

.container {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--fjord);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus {
  top: 14px;
}

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

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--fjord);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.button:hover {
  background: var(--fjord-dark);
}
.button--soft {
  background: var(--fjord-soft);
  color: var(--fjord-dark);
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9375rem;
}
.button--soft:hover {
  background: #d0dce7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fjord);
  font-weight: 500;
  text-decoration: none;
  padding: 6px 2px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 238, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(228, 221, 210, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.wordmark {
  text-decoration: none;
  color: var(--slate);
  padding-right: 0.07em;
}
.wordmark img {
  display: block;
  height: 1.375rem;
  width: auto;
}
.site-header nav {
  margin-left: auto;
}
.nav-list {
  display: flex;
  gap: 4px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9375rem;
  text-decoration: none;
}
.nav-list a:hover {
  color: var(--ink);
  background: rgba(53, 89, 122, 0.07);
}
@media (max-width: 860px) {
  .site-header nav {
    display: none;
  }
  .header-inner > .button {
    margin-left: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(56px, 9vw, 112px);
}
.hero-text {
  max-width: 780px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 22px;
}
.hero-text .label {
  margin-bottom: 0;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  color: var(--muted);
  max-width: 40em;
}

.signup {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: min(100%, 500px);
  margin-top: 10px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 36px -24px rgba(44, 54, 64, 0.35);
}
.signup input {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 400 1rem var(--sans);
}
.signup input::placeholder {
  color: #6b7780;
}
.signup input:focus-visible {
  outline-offset: 0;
}
.form-status {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  font-size: 0.9375rem;
  color: var(--sage-text);
  font-weight: 400;
}
.form-status:empty {
  display: none;
}
.signup:has(.form-status:not(:empty)) {
  margin-bottom: 44px;
}
@media (max-width: 480px) {
  .signup {
    border-radius: 26px;
    padding: 8px;
  }
  .signup .button {
    width: 100%;
  }
}
.hero-text .text-link {
  margin-top: 14px;
}

.landscape {
  margin-top: clamp(40px, 6vw, 72px);
  color: var(--fjord);
}
.mountains {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 260;
  overflow: hidden;
}
@media (max-width: 700px) {
  .mountains {
    height: 150px;
    aspect-ratio: auto;
  }
}
.mountains path,
.mountains circle {
  vector-effect: non-scaling-stroke;
}
.range {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.range--back {
  stroke: var(--sage);
  stroke-width: 1.4;
}
.range--front {
  stroke: var(--fjord);
  stroke-width: 1.6;
}
.snow {
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.horizon {
  stroke: #c4cdd3;
  stroke-width: 1.2;
}
.water {
  stroke: #bfd0de;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.sun {
  fill: var(--sand);
  animation: sunrise 3.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.cloud {
  fill: none;
  stroke: #c3ccd3;
  stroke-width: 1.3;
  stroke-linejoin: round;
  animation: drift 38s ease-in-out infinite alternate;
}
.cloud--two {
  animation-duration: 52s;
  animation-direction: alternate-reverse;
}
.bird {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.2;
  stroke-linecap: round;
}
@keyframes sunrise {
  from {
    transform: translateY(46px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes drift {
  from {
    transform: translateX(-24px);
  }
  to {
    transform: translateX(28px);
  }
}

.hero-shot {
  margin: 0 auto;
  max-width: 1040px;
  transform: translateY(-6px);
}

/* ---------- Cards and shots ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgba(44, 54, 64, 0.04),
    0 24px 60px -36px rgba(44, 54, 64, 0.28);
}
.shot {
  margin: 0;
}
.shot,
.hero-shot {
  padding: 10px;
}
.shot img,
.hero-shot img {
  border-radius: 16px;
  border: 1px solid #ece6dc;
}
.shot figcaption,
.hero-shot figcaption {
  padding: 12px 10px 4px;
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: center;
}
.shot--wide {
  margin-top: 40px;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(80px, 11vw, 150px) 0;
}
.section--tint {
  background: var(--tint);
}
.section--small {
  padding: clamp(48px, 7vw, 88px) 0;
}
.intro {
  max-width: 660px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.intro--center {
  margin-inline: auto;
  text-align: center;
}
.intro h2,
.duo-text h2,
.live h2,
.final h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  margin-bottom: 18px;
}
.intro > p:last-child,
.duo-text > p {
  color: var(--muted);
  font-size: 1.1875rem;
}

/* ---------- Trail ---------- */
.trail {
  display: grid;
  gap: 36px;
}
.trail li {
  position: relative;
  padding-left: 68px;
}
.trail li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: -32px;
  border-left: 2px dotted #b4c3b8;
}
.trail li:last-child::before {
  display: none;
}
.waypoint {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-deep);
  background: var(--bg);
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--sage-deep);
}
.trail h3 {
  font-size: 1.375rem;
  font-weight: 400;
  margin: 6px 0 6px;
}
.trail p {
  color: var(--muted);
  font-size: 1rem;
}
@media (min-width: 1000px) {
  .trail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 56px 36px;
  }
  .trail li {
    padding-left: 0;
    padding-top: 64px;
  }
  .trail li::before {
    left: 54px;
    right: -26px;
    top: 20px;
    bottom: auto;
    border-left: 0;
    border-top: 2px dotted #b4c3b8;
  }
  .trail li:nth-child(4n)::before {
    display: none;
  }
}

/* ---------- Duo ---------- */
.duo {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .duo {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }
  .duo--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .duo--flip .duo-text {
    order: 2;
  }
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pills li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-text);
  font-weight: 400;
  font-size: 0.9375rem;
}

/* ---------- Levels ---------- */
.levels {
  display: grid;
  gap: 18px;
}
.level {
  padding: 26px 24px;
}
.level h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.level p {
  color: var(--muted);
  font-size: 1rem;
}
.level::before {
  content: "";
  display: block;
  height: 4px;
  width: 56px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--fjord) var(--fill, 0%),
    var(--fjord-soft) var(--fill, 0%)
  );
}
.level:nth-child(1)::before {
  --fill: 8%;
}
.level:nth-child(2)::before {
  --fill: 36%;
}
.level:nth-child(3)::before {
  --fill: 68%;
}
.level:nth-child(4)::before {
  --fill: 100%;
}
@media (min-width: 640px) {
  .levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .levels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Modes ---------- */
.modes {
  display: grid;
  gap: 20px;
}
.mode {
  padding: 32px 28px;
}
.mode svg {
  width: 44px;
  height: 44px;
  color: var(--fjord);
  margin-bottom: 20px;
}
.mode h3 {
  font-size: 1.625rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.mode p {
  color: var(--muted);
}
@media (min-width: 900px) {
  .modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reassure {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 28px;
  background: #e9efe9;
  border-color: #dbe5dc;
}
.reassure svg {
  flex: none;
  width: 40px;
  height: 40px;
  color: var(--sage-deep);
}
.reassure h3 {
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.reassure p {
  color: var(--muted);
}
@media (max-width: 520px) {
  .reassure {
    flex-direction: column;
  }
}

/* ---------- Track ---------- */
.pair {
  display: grid;
  gap: 28px;
}
.pair .shot figcaption {
  text-align: left;
}
@media (min-width: 900px) {
  .pair {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ---------- Live ---------- */
.live {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
}
.live h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}
.live p:not(.label) {
  color: var(--muted);
}
.live img {
  border-radius: 14px;
}
@media (min-width: 900px) {
  .live {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

/* ---------- Privacy ---------- */
.quiet-list {
  display: grid;
  gap: 40px;
}
.quiet-list li {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.quiet-list svg {
  width: 40px;
  height: 40px;
  color: var(--fjord);
  margin-bottom: 16px;
}
.quiet-list h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.quiet-list p {
  color: var(--muted);
}
@media (min-width: 860px) {
  .quiet-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 24px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  border-radius: 18px;
}
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 64px 20px 24px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  border-radius: 18px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--fjord);
  transition: transform 0.35s ease;
}
.faq-list summary::after {
  transform: rotate(90deg);
}
.faq-list details[open] summary::after {
  transform: rotate(0deg);
}
.faq-list details p {
  padding: 0 24px 22px;
  color: var(--muted);
  max-width: 62ch;
}
@media (min-width: 960px) {
  .faq {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
    align-items: start;
  }
}

/* ---------- Final ---------- */
.final {
  padding: clamp(80px, 12vw, 160px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #e8eee9 100%);
}
.final-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.sunrise {
  width: min(320px, 80%);
  height: auto;
  overflow: visible;
}
.sunrise path {
  fill: none;
  stroke-linecap: round;
}
.sunrise-sun {
  stroke: var(--fjord);
  stroke-width: 1.6;
}
.sunrise-rays {
  stroke: var(--sage);
  stroke-width: 1.6;
}
.sunrise-line {
  stroke: #b9c6cf;
  stroke-width: 1.4;
}
.sunrise-water {
  stroke: #bfd0de;
  stroke-width: 1.4;
}
.final h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 8px 0 0;
}
.final-inner > p {
  color: var(--muted);
  font-size: 1.1875rem;
  max-width: 40ch;
}
.signup--center {
  margin-inline: auto;
}
.final .text-link {
  margin-top: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}
.wordmark--small img {
  height: 1.125rem;
}
.footer-inner p:last-child {
  margin-left: auto;
}

/* ---------- Tour dialog ---------- */
.tour-dialog {
  width: min(100% - 32px, 1060px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--slate);
  box-shadow: 0 40px 100px -30px rgba(44, 54, 64, 0.5);
  overflow: hidden;
}
.tour-dialog::backdrop {
  background: rgba(38, 49, 59, 0.55);
}
.tour-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 14px 24px;
}
.tour-head h2 {
  font-size: 1.5rem;
  font-weight: 400;
}
.tour-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1d2025;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
