:root {
  --bg: #f7f8f7;
  --surface: #ffffff;
  --ink: #121816;
  --night: #101614;
  --muted: #5d6b64;
  --line: rgba(18, 24, 22, 0.1);
  --orange: #e57025;
  --orange-deep: #c45e16;
  --on-orange: #1a140f;
  --accent: #e57025;
  --header: 4.25rem;
  --radius: 16px;
  --max: 1140px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--orange);
  color: white;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--night);
  color: white;
}

.site-header .wrap {
  width: 100%;
  max-width: none;
  padding-inline: 1.25rem;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: 0.28rem 0.5rem 0.22rem;
  line-height: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.nav a:hover {
  color: white;
}

.nav a.button {
  color: var(--on-orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--orange);
  color: var(--on-orange);
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--orange-deep);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.ghost:hover {
  background: white;
}

.hero {
  display: grid;
  min-height: calc(100svh - var(--header));
  background: var(--night);
  color: white;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.25rem 2.2rem;
}

.kicker {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.1rem);
  max-width: 10ch;
}

.lede {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.74);
}

.hero .button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero .rating a {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.rating {
  margin-top: 1.25rem;
}

.rating a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.gift-link {
  margin: 0.15rem 0 0;
}

.gift-link a {
  color: var(--orange);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.gift-link a:hover {
  color: white;
}

.rating a::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-photo,
.photo-frame {
  margin: 0;
  overflow: hidden;
  background: #1c2822;
}

.photo-frame {
  border-radius: 24px;
}

.hero-photo {
  position: relative;
  min-height: 52vw;
}

.hero-photo img,
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  object-position: 62% 40%;
}

.hero-photo figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
}

#reviews {
  background: white;
}

#app {
  background: var(--night);
  color: white;
}

#app .lede {
  color: rgba(255, 255, 255, 0.74);
  max-width: 42rem;
}

.phone-slider {
  margin-top: 2.2rem;
}

.phones {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 28px;
}

.phones::-webkit-scrollbar {
  display: none;
}

.phones figure {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phones img {
  width: min(78%, 300px);
  height: auto;
  display: block;
  border-radius: 28px;
}

.phones figcaption {
  margin-top: 0.9rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.phones figcaption strong {
  display: block;
  margin-bottom: 0.25rem;
  color: white;
  font-size: 1.05rem;
}

.slider-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.slider-arrow {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: white;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider-dots {
  display: flex;
  gap: 0.45rem;
}

.slider-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.slider-dots button[aria-selected="true"] {
  background: var(--orange);
  width: 1.35rem;
}

.app-tools {
  margin-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.app-tools summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.app-tools summary::-webkit-details-marker {
  display: none;
}

.app-tools summary::after {
  content: "+";
  color: var(--orange);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
}

.app-tools[open] summary::after {
  content: "–";
}

.app-tools .groups {
  display: grid;
  gap: 1.8rem;
  margin-top: 1.4rem;
}

.app-tools .groups > div > p {
  margin: 0;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#app .tool {
  border-top-color: rgba(255, 255, 255, 0.14);
}

#app .tool span {
  color: rgba(255, 255, 255, 0.74);
}

.lesson-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.lesson {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.15rem 1.15rem 1.1rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.lesson header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.lesson h3 {
  font-size: 1.12rem;
}

.lesson .amount {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.lesson p {
  color: var(--muted);
  font-size: 0.92rem;
}

.lesson .button {
  justify-self: start;
  margin-top: 0.2rem;
}

.split {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.photo-frame img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
  min-height: 280px;
}

.visit-photo {
  margin-top: 1.4rem;
}

.visit-photo img {
  aspect-ratio: 4 / 5;
  object-position: center 20%;
}

.tools {
  display: grid;
  gap: 0;
  margin-top: 1.4rem;
}

.tool {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.tool strong {
  display: block;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.tool span {
  color: var(--muted);
  font-size: 0.92rem;
}

.reviews {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.quote {
  margin: 0;
  background: var(--bg);
  border-radius: 20px;
  padding: 1.25rem 1.2rem 1.1rem;
}

.quote p {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.quote footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq {
  display: grid;
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  color: var(--muted);
  padding-bottom: 0.95rem;
  max-width: 42rem;
}

.visit-grid {
  display: grid;
  gap: 1.6rem;
}

.facts {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--muted);
}

.facts a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.socials a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

form {
  display: grid;
  gap: 0.8rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.3rem;
}

form h3 {
  font-size: 1.45rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
  min-height: 2.85rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 1.2rem;
}

.form-note.error {
  color: #8d2d16;
}

.site-footer {
  padding: 0.4rem 0 6.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .wrap {
  display: grid;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-links a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.book-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 12;
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(18, 24, 22, 0.12);
}

.book-bar .button {
  flex: 1;
  white-space: nowrap;
}

@media (min-width: 800px) {
  .split,
  .visit-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: calc(100vh - var(--header));
  }

  .hero-copy {
    padding: 4rem 4vw 4.5rem 1.25rem;
  }

  .site-header .wrap {
    padding-inline: 1.25rem 4vw;
  }

  .hero-photo {
    min-height: 100%;
  }

  .lesson-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lesson.wide {
    grid-column: 1 / -1;
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }

  .lesson.wide p {
    grid-column: 1;
  }

  .lesson.wide .button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .reviews {
    grid-template-columns: 1fr 1fr;
  }

  .app-tools .groups {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 3rem;
    align-items: start;
  }

  .book-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.2rem;
  }
}

@media (max-width: 799px) {
  .nav {
    gap: 0.7rem;
  }

  .nav a:not(.button):not(.nav-keep) {
    display: none;
  }

  .nav a.nav-keep {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    justify-content: flex-start;
    padding-bottom: 6.5rem;
  }

  .hero-photo {
    min-height: 38vh;
    order: -1;
  }

  .site-footer {
    padding-bottom: 6.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .phones {
    transition: none;
    scroll-behavior: auto;
  }
}
