:root {
  --ink: #102521;
  --forest: #14332f;
  --forest-deep: #0c2522;
  --mint: #b7d2c7;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --sand: #d6c2a8;
  --muted: #687570;
  --line: rgba(16, 37, 33, 0.14);
  --white-line: rgba(255, 255, 255, 0.2);
  --shadow: 0 24px 70px rgba(17, 43, 38, 0.16);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(183, 210, 199, 0.28), transparent 34%),
    linear-gradient(180deg, #f8f4ec 0%, #f2ecdf 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

.page-shell {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 14px auto;
  min-height: calc(100vh - 28px);
  overflow: hidden;
  border: 1px solid rgba(16, 37, 33, 0.08);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(43, 50, 46, 0.08);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(24px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.brand-word {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1;
}

.brand-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.guide-label {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: center;
  min-height: 610px;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 74px);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(9, 31, 28, 0.96), rgba(20, 51, 47, 0.94)),
    radial-gradient(circle at 85% 25%, rgba(183, 210, 199, 0.34), transparent 42%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(var(--white-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, #000 0%, transparent 72%);
}

.hero-copy, .product-visual { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(183, 210, 199, 0.12);
}

h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 7vw, 86px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 em {
  color: var(--mint);
  font-weight: 400;
}

.intro {
  max-width: 550px;
  margin: 30px 0 14px;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.microcopy {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sand);
}

.product-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.product-card {
  position: relative;
  width: min(340px, 78%);
  aspect-ratio: 0.95;
  padding: 14px;
  overflow: hidden;
  transform: rotate(3deg);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(12px);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border-radius: 27px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 27px;
  filter: saturate(0.78) contrast(1.02);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(183, 210, 199, 0.24);
  border-radius: 50%;
}

.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 320px; height: 320px; }

.feature-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.17);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.feature-top { top: 78px; right: 2%; }
.feature-bottom { bottom: 60px; left: 0; }
.feature-bottom span { color: #78a696; }

.language-section {
  padding: clamp(58px, 8vw, 100px) clamp(24px, 6vw, 74px) 66px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 390px);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #7b8f88;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.section-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.language-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 128px;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: #fff;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.language-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  transform: scaleY(0);
  transform-origin: bottom;
  background: var(--forest);
  transition: transform 220ms ease;
}

.language-card:hover,
.language-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(20, 51, 47, 0.34);
  background: #fdfbf5;
  box-shadow: 0 18px 40px rgba(23, 53, 47, 0.1);
  outline: none;
}

.language-card:hover::before,
.language-card:focus-visible::before,
.language-card.is-suggested::before { transform: scaleY(1); }

.language-card.is-suggested {
  border-color: rgba(20, 51, 47, 0.3);
  box-shadow: inset 0 0 0 1px rgba(20, 51, 47, 0.05);
}

.language-card.is-suggested::after {
  content: "SUGGESTED";
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #779288;
}

.language-code {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: var(--forest);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.language-text {
  display: grid;
  gap: 6px;
}

.language-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1;
}

.language-text small {
  font-size: 13px;
  color: var(--muted);
}

.language-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  transition: transform 220ms ease, color 220ms ease, background-color 220ms ease;
}

.language-card:hover .language-arrow,
.language-card:focus-visible .language-arrow {
  transform: rotate(45deg);
  color: #fff;
  background: var(--forest);
}

.help-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 clamp(24px, 6vw, 74px) 66px;
  padding: 25px 28px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--forest);
}

.help-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.help-strip strong { font-size: 15px; }
.help-strip p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand);
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--max-width));
    margin: 8px auto;
    border-radius: 24px;
  }

  .site-header { padding: 22px 20px; }
  .brand-word { font-size: 18px; }
  .brand-sub { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 24px 48px;
  }

  .hero-copy { text-align: left; }
  .intro { font-size: 16px; }

  .product-visual {
    min-height: 355px;
    margin-top: 28px;
  }

  .product-card { width: min(280px, 74vw); }
  .orbit-one { width: min(350px, 90vw); height: min(350px, 90vw); }
  .orbit-two { width: min(270px, 70vw); height: min(270px, 70vw); }
  .feature-top { top: 32px; right: 0; }
  .feature-bottom { bottom: 20px; left: 0; }

  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .language-grid { grid-template-columns: 1fr; }
  .language-card { min-height: 108px; padding: 20px; }
  .language-card.is-suggested::after { top: 9px; right: 16px; }

  .help-strip { margin-bottom: 38px; }
}

@media (max-width: 480px) {
  .guide-label { font-size: 8px; padding: 7px 9px; }
  .hero { padding-inline: 20px; }
  h1 { font-size: clamp(44px, 15vw, 62px); }
  .feature-tag { padding: 10px 12px; font-size: 10px; }
  .language-section { padding: 52px 20px 44px; }
  .language-card { gap: 14px; border-radius: 20px; }
  .language-code { width: 46px; height: 46px; border-radius: 14px; }
  .language-text strong { font-size: 26px; }
  .language-arrow { width: 38px; height: 38px; }
  .help-strip { margin-inline: 20px; padding: 21px; }
  .site-footer { flex-wrap: wrap; }
}

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