@font-face {
  font-family: "Inter";
  src: url("./assets/inter-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter Display";
  src: url("./assets/inter-display-semibold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: dark;
  --canvas: #0b0d0a;
  --surface: #111710;
  --line: #293127;
  --muted: #a8b3a3;
  --text: #f1f4eb;
  --accent: #c5dea7;
  --on-accent: #182113;
  --wrap: 74rem;
  --side: clamp(1.25rem, 4.7vw, 4rem);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--text);
}

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

body { margin: 0; }

a { color: var(--accent); text-underline-offset: .24em; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3, .brand {
  font-family: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

h1, h2 { text-wrap: balance; }

p, dd { overflow-wrap: break-word; }

img { max-width: 100%; }

.shell {
  width: min(100% - var(--side) * 2, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  inset: .75rem auto auto var(--side);
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; color: var(--on-accent); }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.75rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  font-size: 1.105rem;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand img {
  display: block;
  flex: none;
  border: 1px solid #ffffff18;
  border-radius: 26%;
}

.site-header nav ul, .site-footer nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .375rem clamp(.75rem, 2.3vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a, .site-footer nav a {
  display: inline-block;
  padding-block: .5rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
  text-decoration: none;
}

.site-header nav a:hover, .site-footer nav a:hover,
.site-header nav a[aria-current="page"], .site-footer nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: grid;
  min-height: 39rem;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.25rem);
  padding-block: clamp(3.25rem, 6vw, 5.75rem) clamp(3.5rem, 7vw, 6.5rem);
}

.hero-overline {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .95rem;
  line-height: 1.45;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 5.9vw, 6rem);
  line-height: .99;
  letter-spacing: -.065em;
}

.hero-description {
  max-width: 32rem;
  margin-top: 1.45rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.26rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.15rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: "Inter Display", "Inter", sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #d9eabd;
  color: var(--on-accent);
}

.store-status {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.hero-figure { min-width: 0; }

.device-composition {
  position: relative;
  isolation: isolate;
  min-height: 22rem;
  padding: 6% 14% 8% 8%;
}

.device-composition::before {
  position: absolute;
  z-index: -1;
  inset: 0 1% 0 0;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background-color: #0e130d;
  background-image: radial-gradient(circle, #7b9a6b35 1px, transparent 1px);
  background-size: 13px 13px;
  content: "";
}

.device {
  display: block;
  overflow: hidden;
  border: 1px solid #ffffff32;
  background: #080908;
  box-shadow: 0 14px 36px #0009;
}

.device img { display: block; width: 100%; height: auto; }

.tablet-frame {
  width: 77%;
  max-width: 25rem;
  padding: clamp(.24rem, .66vw, .45rem);
  border-radius: clamp(.52rem, 1.55vw, 1.1rem);
}

.tablet-frame img { border-radius: clamp(.3rem, 1.1vw, .7rem); }

.phone-frame {
  position: absolute;
  right: 5%;
  bottom: 6%;
  width: 32%;
  max-width: 10rem;
  padding: clamp(.19rem, .45vw, .35rem);
  border-radius: clamp(.85rem, 2.2vw, 1.45rem);
}

.phone-frame img { border-radius: clamp(.6rem, 1.75vw, 1.1rem); }

.hero-figure figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.workflow {
  padding-block: clamp(3rem, 6vw, 5.4rem);
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: end;
  gap: .75rem 3rem;
}

.section-intro h2, .device-section h2 {
  font-size: clamp(2.2rem, 4.35vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -.06em;
}

.section-intro p, .device-section-heading p {
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(1.5rem, 4.25vw, 3.05rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--line);
}

.workflow-card {
  padding: clamp(1.15rem, 2.7vw, 2rem);
  background: var(--surface);
}

.workflow-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  margin-bottom: 1.45rem;
  border: 1px solid #b1d49135;
  border-radius: .6rem;
  background: #c5dea711;
  color: var(--accent);
}

.workflow-icon svg { width: 1.25rem; height: 1.25rem; }

.workflow-card h3 {
  margin-bottom: .6rem;
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.workflow-card p, .device-details dd {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.device-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 2rem clamp(2rem, 8vw, 7rem);
  padding-block: clamp(3rem, 6vw, 5.4rem);
  border-top: 1px solid var(--line);
}

.device-section-heading p { margin-top: 1rem; }

.device-details > div {
  display: grid;
  grid-template-columns: minmax(6rem, .42fr) minmax(0, 1fr);
  align-items: start;
  gap: .45rem 1rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--line);
}

.device-details > div:first-child { padding-top: 0; }

.device-details > div:last-child { padding-bottom: 0; border: 0; }

.device-details dt {
  color: var(--text);
  font-family: "Inter Display", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

kbd {
  display: inline-block;
  padding: .05em .33em;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--surface);
  color: var(--accent);
  font: 600 .8em "Inter", sans-serif;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0e120d;
}

.footer-inner { min-height: 5rem; }

.footer-brand { font-size: 1rem; }

.legal {
  max-width: 46rem;
  min-height: 55vh;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.legal h1 {
  color: var(--text);
  font-size: clamp(2.75rem, 5.65vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -.056em;
}

.legal h2 {
  margin-top: 1.8em;
  color: var(--text);
  font-size: clamp(1.3rem, 2.4vw, 1.72rem);
  line-height: 1.22;
  letter-spacing: -.024em;
}

.legal h3 {
  margin-top: 1.4em;
  color: var(--text);
  font-size: 1.13rem;
}

.legal p, .legal ul, .legal ol, .legal address { margin-top: .9rem; }

.legal ul, .legal ol { padding-left: 1.45rem; }

.legal li + li { margin-top: .4rem; }

.legal strong { color: var(--text); }

.legal address { font-style: normal; }

[id] { scroll-margin-top: 1rem; }

@media (max-width: 58rem) {
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(2.75rem, 6.75vw, 4.8rem); }
  .hero-actions { align-items: flex-start; }
  .device-composition { padding-inline: 7% 10%; min-height: 0; }
  .tablet-frame { width: 81%; }
  .phone-frame { width: 33%; right: 4%; }
  .device-section { gap: 2rem; }
  .device-details > div { grid-template-columns: 1fr; }
}

@media (max-width: 44rem) {
  .hero, .section-intro, .device-section { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(3rem, 10.2vw, 4.85rem); }
  .hero-figure { width: 100%; max-width: 33rem; }
  .device-composition { padding-inline: 11% 12%; }
  .tablet-frame { width: 78%; }
  .phone-frame { width: 33%; right: 7%; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { padding: 1.25rem; }
  .workflow-icon { margin-bottom: .95rem; }
}

@media (max-width: 24rem) {
  .header-inner, .footer-inner { padding-block: .55rem; }
  .hero-actions { display: grid; justify-items: start; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
