@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b1b2b;
  --text: #f5f7fa;
  --muted: #bcc7d0;
  --accent: #ffae65;
  --line: #334555;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  min-width: 280px;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
}

::selection { background: var(--accent); color: var(--background); }

.wrap { width: min(100% - 6rem, 1240px); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.8rem 1rem;
  color: var(--background);
  background: var(--accent);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.065em; text-decoration: none; }
.brand span { color: var(--accent); }
.nav-link { font-size: 0.95rem; text-decoration: none; text-underline-offset: 0.4rem; }
.nav-link:hover { color: var(--accent); text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-block: 4.5rem 5rem;
}

.hero-copy { padding-block: 1rem 2rem; }

.availability {
  display: inline-flex;
  margin: 0 0 2rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #866343;
  border-radius: 2rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 550;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 5.9vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 600;
}

h1 span { color: var(--accent); }

.hero-description {
  max-width: 28.5rem;
  margin: 1.8rem 0 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 5px;
  color: var(--background);
  background: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 650;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover { background: #ffc28c; transform: translateY(-2px); }
.release-note { max-width: 26rem; margin: 1.15rem 0 0; font-size: 0.9rem; line-height: 1.6; color: var(--muted); }

.hero-visual { position: relative; isolation: isolate; margin: 0; }

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -14px 40px 35%;
  border: 1px solid #866343;
  border-radius: 10px 10px 70px 10px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 570px;
  border-radius: 70px 10px 70px 10px;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption { margin-top: 1.15rem; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding-block: 4.5rem 5rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: 0.95rem; font-weight: 550; }
h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 550; line-height: 1.15; letter-spacing: -0.045em; }
.section-intro > p:last-child { max-width: 26rem; margin: 1.5rem 0 0; font-size: 1rem; line-height: 1.75; color: var(--muted); }
.features article { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.features article:first-child { padding-top: 0; }
.features article:last-child { padding-bottom: 0; border-bottom: 0; }
h3 { margin: 0 0 0.5rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.features p { max-width: 30rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.brand-small { font-size: 1.2rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.9rem; }

@media (min-width: 1500px) {
  .hero { padding-block: 5.5rem 6rem; }
  .hero-visual img { height: 610px; }
}

@media (max-width: 1050px) {
  .wrap { width: min(100% - 4rem, 1240px); }
  .hero { gap: 2rem; padding-block: 3rem 4rem; }
  h1 { font-size: clamp(3.2rem, 6vw, 4.4rem); }
  .hero-visual img { height: 530px; }
  .project { gap: 3rem; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 3rem); }
  .site-header { min-height: 88px; }
  .brand { font-size: 1.45rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.5rem 3rem; }
  .hero-copy { padding-block: 0; }
  .availability { margin-bottom: 1.5rem; }
  h1 { font-size: clamp(3rem, 9.2vw, 4.5rem); }
  .hero-description { max-width: 33rem; margin-top: 1.5rem; }
  .hero-visual img { height: auto; max-height: 560px; aspect-ratio: 5 / 4; object-position: center 47%; border-radius: 45px 8px 45px 8px; }
  .hero-visual::before { inset-inline-start: 25%; inset-inline-end: -8px; border-radius: 8px 8px 45px 8px; }
  .project { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
  .section-intro > p:last-child { max-width: 33rem; }
  .site-footer { flex-wrap: wrap; padding-block: 1.6rem; }
  .brand-small { font-size: 1.15rem; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { font-size: 1.25rem; }
  h1 { font-size: 2.6rem; }
  .nav-link { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
