/* River continuity revision. Bootstrap-derived control structure retains its MIT license. */
:root {
  --ink: #f3f1e4;
  --cream: #102b23;
  --body-muted: #b6c6b9;
  --line: #d3e3c32b;
  --accent: #eec58a;
}
body { background: var(--cream); }
.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  background: transparent;
  color: #f3f1e4;
  text-shadow: 0 1px 8px #061b16;
  border: 0;
}
.nav-inner { height: 82px; }
@media (prefers-reduced-motion: no-preference) {
  .preview-panels [role=tabpanel]:not(.is-hidden) {
    animation: preview-in .24s ease-out;
  }
  @keyframes preview-in {
    from { opacity: .3; }
    to { opacity: 1; }
  }
}
.actions a, .text-button, .tablist button {
  vertical-align: middle;
  touch-action: manipulation;
  white-space: nowrap;
  user-select: none;
}
#header {
  background-color: var(--cream);
  background-image:
    linear-gradient(0deg, #102b23 0%, #102b2300 35%),
    linear-gradient(90deg, #061d17b3, #0c211718 80%),
    url(assets/river-valley.webp);
  background-size: cover;
  background-position: 55% 52%;
}
.hero-inner {
  min-height: 850px;
  min-height: max(760px, 92svh);
  padding-top: 130px;
  padding-bottom: 130px;
}
.screen {
  background:
    linear-gradient(180deg, #16362855, #16362810 60%, #102a21a6),
    url(assets/river-valley.webp) 77% center / auto 100%;
}
h2, h3, p, figure { margin: 0; }
.section-wrap { max-width: 1120px; margin: auto; }
main > section {
  position: relative;
  min-height: 0;
  padding: 75px 7vw;
  background: transparent;
}
main > section h2 {
  font-size: clamp(31px, 3.5vw, 49px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.24;
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.section-note { color: var(--body-muted); font-size: 14px; }
#one { padding-top: 0; margin-top: -18px; }
.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10%;
}
.console-info { min-width: 0; }
.tablist {
  display: inline-flex;
  gap: 26px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.tablist button {
  position: relative;
  display: block;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #a8bcae;
  font-size: 16px;
  transition: color .2s, border-color .2s;
}
.tablist [aria-selected=true] { color: var(--accent); border-bottom-color: var(--accent); }
.tablist button:hover { color: #fff4dc; }
.is-hidden { display: none !important; }
.preview-panels { min-height: 138px; }
.preview-panels h3, .feature-list h3 {
  color: #f0f0e1;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.preview-panels p, .feature-list p, .guide-body p {
  max-width: 39em;
  margin-top: 12px;
  color: var(--body-muted);
  font-size: 16px;
  line-height: 1.9;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid #a1b39a66;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
}
.text-button:hover { color: #fff3d9; border-color: #fff3d9; }
.preview-stage {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 500px;
}
.preview-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse, #72936927, transparent 65%);
  pointer-events: none;
}
.preview-stage img {
  width: 340px;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 28px 70px #03160e66;
}
#two { padding-top: 25px; padding-bottom: 65px; }
.feature-grid { border-top: 1px solid var(--line); padding-top: 65px; }
.feature-grid > h2 { margin-bottom: 38px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; }
.feature-list article { min-width: 0; }
.feature-list .icon { color: var(--accent); font-size: 28px; margin-bottom: 18px; }
.feature-list p { font-size: 15px; }
.devices { --icon: url(assets/icons/monitor-smartphone.svg); }
.folder { --icon: url(assets/icons/folder.svg); }
.terminal { --icon: url(assets/icons/terminal.svg); }
.usb { --icon: url(assets/icons/usb.svg); }
.smartphone { --icon: url(assets/icons/smartphone.svg); }
.chevron { --icon: url(assets/icons/chevron-down.svg); }
#three { padding-top: 0; padding-bottom: 90px; }
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8%;
  padding-top: 65px;
  border-top: 1px solid var(--line);
}
.guide-mark { width: 45px; margin-bottom: 20px; }
.guide-list details { border-top: 1px solid var(--line); }
.guide-list details:first-child { border-top: 0; }
.guide-list details:last-child { border-bottom: 1px solid var(--line); }
.guide-list summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
}
.guide-list summary:hover { color: var(--accent); }
.guide-list summary::-webkit-details-marker { display: none; }
.guide-list summary .chevron { margin-left: auto; }
.guide-list details[open] .chevron { transform: rotate(180deg); }
.guide-body { padding: 0 0 22px 36px; }
.guide-body p { margin: 0 0 7px; }
.guide-body code { font: .9em Consolas, monospace; overflow-wrap: anywhere; }
footer { padding: 0 7vw 30px; color: #cbd8c8; background: var(--cream); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-inner > a:last-child { font-size: 14px; }
.footer-inner > a:last-child:hover { color: var(--accent); }
dialog {
  max-width: min(580px, 94vw);
  max-height: 92svh;
  border: 1px solid #c7cebf;
  border-radius: 12px;
  padding: 12px;
  background: #f7f7ef;
  color: #182e25;
}
dialog::backdrop { background: #061a13e6; backdrop-filter: blur(8px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 4px 8px; }
.dialog-heading h2 { font-size: 16px; font-weight: 600; }
.dialog-heading button { min-width: 40px; background: none; border: 0; font-size: 26px; }
dialog img { object-fit: contain; width: auto; height: auto; max-height: 76svh; max-width: 100%; }
@media (min-width: 701px) and (max-width: 980px) {
  .hero-inner { display: flex; flex-direction: column-reverse; gap: 30px; min-height: 860px; padding: 125px 30px 100px; }
  .content { text-align: center; }
  .platform, .actions { justify-content: center; }
  h1 { font-size: 110px; margin: 12px 0; }
  .hero-lead { font-size: 26px; }
  .actions { margin-top: 25px; }
  .phone { width: 165px; border-radius: 30px; }
  .screen { border-radius: 22px; }
  .screen-brand img { width: 60px; }
  .console-grid { gap: 6%; }
  .preview-stage { min-height: 380px; }
  .preview-stage img { width: 270px; }
  .feature-list { gap: 25px; }
  .feature-list h3 { font-size: 19px; }
}
@media (max-width: 700px) {
  .nav { position: absolute; }
  .nav-inner { height: 64px; }
  #menu { background: #102b23f5; border-bottom: 1px solid var(--line); }
  #header { background-position: 65% center; }
  .hero-inner { min-height: 0; padding: 95px 22px 85px; gap: 20px; }
  main > section { padding: 42px 6vw; }
  #one { padding-top: 0; margin-top: -6px; }
  .section-heading { gap: 10px; margin-bottom: 24px; }
  .console-grid { grid-template-columns: 1fr; gap: 24px; }
  .console-info { text-align: center; }
  .tablist { margin-bottom: 24px; gap: 32px; }
  .preview-panels { min-height: 120px; }
  .preview-panels p { text-align: left; }
  .preview-stage { min-height: 0; }
  .preview-stage img { width: 280px; }
  #two { padding-top: 12px; padding-bottom: 40px; }
  .feature-grid { padding-top: 40px; }
  .feature-grid > h2 { margin-bottom: 28px; }
  .feature-list { grid-template-columns: 1fr; gap: 30px; }
  .feature-list article { display: grid; grid-template-columns: 28px 1fr; gap: 17px; }
  .feature-list .icon { margin: 3px 0 0; }
  .feature-list p { margin-top: 8px; }
  .guide-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; }
  .guide-mark { display: none; }
  .guide-body { padding-left: 0; }
  #three { padding-bottom: 48px; }
}


