@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./brand/fonts/cabin-vietnamese-700.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./brand/fonts/cabin-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./brand/fonts/cabin-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sage: #6f8477;
  --sage-hover: #5d7366;
  --teal: #304246;
  --amber: #7c470d;
  --gray: #504647;
  --plum: #3c2541;
  --white: #ffffff;
  --light: #e8edea;
  --mist: #f5f7f6;
  --line: #d4ddd8;
  --ink: #304246;
  --header: #161616;
  --danger: #8b2e3a;
  --display: "Cabin", Helvetica, Arial, sans-serif;
  --sans: Helvetica, Arial, sans-serif;
  --max: 1120px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sage);
}

a:hover {
  color: var(--sage-hover);
}

h1,
h2,
h3,
.brand-name,
.btn {
  font-family: var(--display);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--white);
  padding: 8px 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  border-bottom: 3px solid var(--sage);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand:hover {
  color: var(--white);
}

.brand-ball {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-name {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.brand-name .dot {
  color: var(--sage);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8d8d8d;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.lang a {
  color: #b8b8b8;
  text-decoration: none;
}

.lang a:hover,
.lang a:focus-visible {
  color: var(--white);
}

.lang a[aria-current="page"] {
  color: var(--white);
}

.nav a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-btn,
.nav-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font: 700 1.4rem var(--display);
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
}

.btn-sage:hover,
.btn-sage:focus-visible {
  background: var(--sage-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--white);
  color: var(--white);
}

.btn-line {
  background: transparent;
  border-color: var(--sage);
  color: var(--teal);
}

.btn-line:hover,
.btn-line:focus-visible {
  background: var(--sage);
  color: var(--white);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 380px at 92% 10%, color-mix(in srgb, var(--sage) 28%, transparent), transparent 60%),
    var(--header);
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 96px;
}

.eyebrow {
  margin-bottom: 18px;
  color: #c5d0c9;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 12ch;
}

.hero .lead {
  margin: 22px 0 32px;
  max-width: 38ch;
  color: #d7ddd9;
  font-size: 1.15rem;
}

.hero-ball {
  justify-self: end;
  width: min(340px, 100%);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

/* Sections */

.section {
  padding: 88px 0;
  scroll-margin-top: 88px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section .intro {
  max-width: 46ch;
  color: var(--gray);
  margin-bottom: 40px;
}

.mist {
  background: var(--mist);
}

.dark {
  background: var(--header);
  color: var(--white);
}

.dark .intro,
.dark .muted {
  color: #b7c0bb;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card h3 {
  font-size: 1.25rem;
  margin: 8px 0 10px;
}

.card p,
.muted {
  color: var(--gray);
}

.card .card-n {
  margin: 0;
  color: var(--sage);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}

.num {
  color: var(--sage);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Product */

.product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.product-copy ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.product-copy li {
  padding-left: 0;
}

.product-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.shots {
  display: grid;
  gap: 16px;
}

.shot {
  margin: 0;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(22, 22, 22, 0.16);
}

.shot img {
  display: block;
  width: 100%;
}

.shot figcaption {
  padding: 10px 14px 12px;
  color: #c9c9c9;
  font-size: 0.82rem;
}

/* Rule */

.rule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.rule-box {
  background: color-mix(in srgb, var(--sage) 12%, var(--header));
  border: 1px solid color-mix(in srgb, var(--sage) 40%, #161616);
  border-radius: var(--radius);
  padding: 32px;
}

.rule-box p {
  margin-top: 10px;
  color: #d5ddd8;
}

/* Pilot */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.step {
  padding: 8px 0 0;
}

.step time {
  display: block;
  color: var(--sage);
  font-family: var(--display);
  margin-bottom: 8px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.contact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list a {
  color: var(--teal);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--sage);
  text-decoration: underline;
}

form {
  position: relative;
  display: grid;
  gap: 14px;
}

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

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--gray);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: 1rem var(--sans);
  color: var(--teal);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note,
.form-ok,
.form-err {
  font-size: 0.92rem;
}

.form-ok {
  color: var(--sage);
}

.form-err {
  color: #8a3a3a;
}

.legal-name {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--gray);
}

/* Footer */

.site-footer {
  background: var(--header);
  color: #c9c9c9;
  padding: 36px 0;
  font-size: 0.88rem;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer a {
  color: #e8edea;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .brand:hover {
  text-decoration: none;
}

/* Privacy */

.prose {
  max-width: 62ch;
}

.prose h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.prose p + p,
.prose ul {
  margin-top: 14px;
}

.page-main {
  padding: 56px 0 88px;
}

/* Mobile */

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 88vw);
    background: var(--header);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 28px 32px;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    border-left: 3px solid var(--sage);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .header-end {
    gap: 16px;
  }

  .nav-close {
    display: inline-flex;
    position: absolute;
    top: 18px;
    right: 18px;
  }

  .hero-inner,
  .product-grid,
  .rule,
  .contact-grid,
  .grid-3,
  .steps,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 56px 0 64px;
  }

  .hero-ball {
    justify-self: start;
    width: 160px;
  }

  .section {
    padding: 64px 0;
  }

  .site-footer-inner {
    display: grid;
  }
}

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

  .nav {
    transition: none;
  }
}
