/* SPDX-License-Identifier: GPL-3.0-or-later */
@font-face {
  font-family: "Noto Serif";
  src: url("assets/fonts/NotoSerif-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("assets/fonts/NotoSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #302c29;
  --ink-soft: #6e6258;
  --paper: #f6eee0;
  --ivory: #fff8ed;
  --copper: #b87a54;
  --line: #d9cdbc;
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Noto Sans", "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
img { max-width: 100%; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--ivory); }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner { width: min(100% - 3rem, 1300px); min-height: 86px; margin: auto; display: flex; align-items: center; gap: 2.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.brand img { display: block; flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); margin-left: auto; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; }
.site-nav a:hover, .text-link:hover { color: #8d5636; }
.header-status { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); font-size: .78rem; white-space: nowrap; }

main { overflow: hidden; }
.hero, .demonstration, .approach, .release { width: min(100% - 3rem, 1300px); margin-inline: auto; }
.hero { padding-top: clamp(1.8rem, 3.3vw, 3.8rem); }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(19rem, .7fr); align-items: end; gap: clamp(2rem, 6vw, 7rem); }
.eyebrow { margin: 0 0 1.45rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; color: #94613f; }
.eyebrow__line { display: inline-block; width: 2rem; height: 1px; margin: 0 .7rem .27rem 0; background: var(--copper); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.052em; }
h1 { margin-bottom: 0; font-size: clamp(3.6rem, 6.3vw, 6.7rem); line-height: 1.04; }
.hero__aside { padding-bottom: .65rem; }
.hero__aside p { max-width: 34rem; margin-bottom: 1.3rem; color: #4a4039; font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.75; }
.text-link { display: inline-block; border-bottom: 1px solid var(--copper); padding-bottom: .24rem; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 700; }
.hero__rule { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(1rem, 2vw, 2rem); padding: .75rem 0; border-top: 1px solid var(--line); font-size: .74rem; color: var(--ink-soft); letter-spacing: .05em; }

.demonstration { padding-top: .8rem; padding-bottom: clamp(5rem, 9vw, 9rem); }
.demonstration__heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: .85rem; }
.demonstration__heading .eyebrow { margin-bottom: .7rem; }
.demonstration__heading h2 { margin-bottom: 0; font-size: clamp(2.1rem, 3.7vw, 3.6rem); line-height: 1.15; }
.demonstration__heading > p { max-width: 19rem; margin-bottom: .35rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.demo { padding: 1.3rem; background: var(--ink); color: var(--ivory); border-radius: 14px; box-shadow: 0 28px 65px rgba(48, 44, 41, .16); }
.demo__topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .1rem .2rem 1.1rem; color: #d7c6b4; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.demo__label { display: inline-flex; align-items: center; gap: .65rem; }
.demo__marker { display: block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--copper); }
.demo__screen { position: relative; display: block; width: 100%; aspect-ratio: 1080 / 470; overflow: hidden; border-radius: 3px; background: #f8f8f8; cursor: zoom-in; }
.demo__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .32s ease; }
.demo__frame.is-active { opacity: 1; }
.demo__zoom-hint { position: absolute; right: .8rem; bottom: .8rem; padding: .35rem .55rem; border-radius: 3px; background: rgba(48, 44, 41, .86); color: var(--ivory); font-size: .73rem; opacity: 0; transition: opacity .2s ease; }
.demo__screen:hover .demo__zoom-hint, .demo__screen:focus-visible .demo__zoom-hint { opacity: 1; }
.demo__controls { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 7rem; padding: 1.15rem .25rem 0; }
.demo__caption { max-width: 43rem; }
.demo__step { margin-bottom: .3rem; font-family: var(--serif); font-size: 1.16rem; font-weight: 600; }
.demo__description { margin-bottom: 0; color: #d6c8b8; font-size: .9rem; line-height: 1.55; }
.demo__actions { display: flex; align-items: center; gap: 1.6rem; }
.demo__steps { display: flex; align-items: center; gap: .25rem; }
.demo__dot { width: 2.25rem; height: 2.25rem; border: 0; background: transparent; cursor: pointer; }
.demo__dot::before { display: block; content: ""; width: .42rem; height: .42rem; margin: auto; border-radius: 50%; background: #8f8275; transition: transform .2s ease, background .2s ease; }
.demo__dot.is-active::before { transform: scale(1.65); background: #e4b48c; }
.demo__toggle { min-width: 4.5rem; padding: .5rem .2rem; border: 0; border-bottom: 1px solid #a98c75; background: transparent; color: var(--ivory); font: inherit; font-size: .84rem; cursor: pointer; }
.demo__toggle:hover { color: #edc19d; }
.demo__note { max-width: 54rem; margin: 1.2rem 0 0 auto; color: var(--ink-soft); text-align: right; font-size: .82rem; line-height: 1.5; }

.approach { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); }
.approach__intro h2 { font-size: clamp(2.5rem, 4.3vw, 4.5rem); line-height: 1.17; }
.approach__intro h2 em { color: #a66a47; font-style: normal; }
.approach__intro > p:last-child { max-width: 29rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.approach__items article { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.approach__items article:last-child { border-bottom: 1px solid var(--line); }
.approach__items span { padding-top: .2rem; color: #9b6542; font-size: .75rem; }
.approach__items h3 { margin-bottom: .4rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.approach__items p { grid-column: 2; max-width: 30rem; margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.65; }

.release { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); margin-bottom: 4rem; padding: clamp(2rem, 4vw, 4rem); background: var(--ink); color: var(--ivory); border-radius: 10px; }
.release__mark img { display: block; }
.release .eyebrow { color: #d9a77e; margin-bottom: .7rem; }
.release h2 { margin-bottom: .7rem; font-size: clamp(2rem, 3vw, 3rem); }
.release p:not(.eyebrow) { max-width: 43rem; margin-bottom: 0; color: #e0d3c4; font-size: .92rem; line-height: 1.65; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; width: min(100% - 3rem, 1300px); margin: auto; padding: 0 0 2.2rem; color: var(--ink-soft); font-size: .76rem; }

@media (max-width: 850px) {
  .site-header__inner { flex-wrap: wrap; gap: .75rem 1.4rem; padding: 1rem 0; }
  .site-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .header-status { margin-left: auto; }
  .hero__copy, .approach { grid-template-columns: 1fr; }
  .hero__copy { gap: 1.7rem; }
  .hero__aside { max-width: 39rem; }
  .hero__rule { margin-top: 3rem; }
  .demonstration__heading { align-items: start; }
  .release { grid-template-columns: auto 1fr; }
}
@media (max-width: 620px) {
  .site-header__inner, .hero, .demonstration, .approach, .release, .site-footer { width: min(100% - 2rem, 1300px); }
  .brand { font-size: 1.05rem; }
  .brand img { width: 34px; height: 34px; }
  .header-status { font-size: .7rem; padding: .45rem .6rem; }
  .site-nav { gap: .5rem; }
  .site-nav a { font-size: .78rem; }
  .hero { padding-top: 3.7rem; }
  .hero__rule span:last-child { display: none; }
  .demonstration { padding-top: 1.6rem; }
  .demonstration__heading { display: block; }
  .demonstration__heading > p { margin-top: .8rem; }
  .demo { padding: .55rem; border-radius: 8px; }
  .demo__topline { padding: .4rem .3rem .6rem; font-size: .64rem; }
  .demo__zoom-hint { right: .35rem; bottom: .35rem; opacity: 1; }
  .demo__controls { display: block; min-height: 0; padding: 1rem .4rem .45rem; }
  .demo__description { min-height: 3.1rem; }
  .demo__actions { justify-content: space-between; margin-top: .75rem; }
  .demo__note { text-align: left; }
  .approach { gap: 1.3rem; }
  .release { grid-template-columns: 1fr; }
  .release__mark img { width: 68px; height: 68px; }
  .site-footer { flex-wrap: wrap; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .demo__frame, .demo__dot::before { transition: none; }
}
