/* ---- Brand colors ---------------------------------------------------------------------------- */
:root {
  --black: #2d2d2d;
  --orange: #ffad00;
  --green: #37ad03;
  --linen: #f6f2e8;
  --paper: #fffefb;
  --stone: #e6e8e2;
  --graphite: #70706f;
  --olive: #5f6b34;
  --line: #d8d2c7;
  --ink: #2d2d2d;
}

/* ---- Base elements --------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p,
li {
  line-height: 1.68;
}

p {
  font-size: 1rem;
}

h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 5.1rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.95rem, 3.4vw, 3.2rem);
}

h3 {
  font-size: 1.27rem;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Layout helpers -------------------------------------------------------------------------- */
.wrap {
  width: min(1190px, calc(100% - 52px));
  margin: auto;
}

.serif {
  font-family: "Noto Serif", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* ---- Header and navigation ------------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 251, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  width: 170px;
  max-width: 35vw;
}

.logo img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav a {
  text-decoration: none;
  font-size: 0.91rem;
  color: #343434;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}

.nav .nav-contact {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
  color: var(--black);
}

/* ---- Labels, hero and buttons ---------------------------------------------------------------- */
.eyebrow {
  text-transform: uppercase;
  font-size: 0.71rem;
  letter-spacing: 0.15em;
  font-weight: 750;
  color: var(--olive);
  margin-bottom: 18px;
}

.hero {
  padding: 76px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.01fr 0.99fr;
  align-items: center;
  gap: 62px;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy h1 {
  margin-bottom: 25px;
}

.hero-copy p {
  font-size: 1.13rem;
  color: #454545;
  max-width: 590px;
  text-wrap: pretty;
}

.hero-copy .emphasis {
  font-weight: 700;
  color: var(--black);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-size: 0.89rem;
  font-weight: 750;
  padding: 15px 20px;
  border-radius: 5px;
  border: 1px solid var(--black);
  min-height: 49px;
}

.btn.primary {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
}

.btn.secondary {
  background: var(--paper);
  color: var(--black);
}

.btn:hover {
  filter: brightness(0.96);
}

.smallnote {
  font-size: 0.78rem !important;
  color: #5c5b57 !important;
  margin-top: 13px;
}

.proofline {
  margin-top: 28px;
  display: flex;
  gap: 9px 17px;
  flex-wrap: wrap;
  color: #595b55;
  font-size: 0.78rem;
}

.proofline span:before {
  content: "• ";
  color: var(--green);
  font-weight: 900;
}

.hero-visual {
  position: relative;
}

.product-image {
  border-radius: 11px;
  box-shadow: 0 20px 55px rgba(45, 45, 45, 0.15);
  border: 1px solid #c6c6c0;
  background: #fff;
}

.product-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  color: #5c5b55;
  font-size: 0.77rem;
}

.product-label span {
  font-weight: 700;
  color: var(--black);
}

/* ---- Images and photos ----------------------------------------------------------------------- */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: #d7d9ce;
}

.photo-frame {
  height: 390px;
  overflow: hidden;
  border-radius: 8px;
  background: #dedccf;
}

.image-caption {
  font-size: 0.77rem;
  color: #66625d;
  margin-top: 10px;
}

/* ---- Feature band ---------------------------------------------------------------------------- */
.feature-band {
  background: var(--black);
  color: #fff;
  padding: 24px 0;
}

.feature-band .wrap {
  display: flex;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feature-band p {
  font-size: 0.9rem;
  margin: 0;
}

.feature-band strong {
  color: var(--orange);
}

/* ---- Sections and grids ---------------------------------------------------------------------- */
section.block {
  padding: 87px 0;
}

.block.alt {
  background: var(--paper);
}

.block.cool {
  background: var(--stone);
}

.section-head {
  max-width: 720px;
  margin: 0 0 34px;
}

.section-head p {
  color: #575852;
  font-size: 1.04rem;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* ---- Cards ----------------------------------------------------------------------------------- */
.card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card .thumb {
  height: 205px;
  overflow: hidden;
  background: var(--stone);
}

.card .details {
  padding: 23px 24px 25px;
  flex: 1;
}

.card h3 {
  margin: 0 0 9px;
}

.card p {
  color: #555;
  line-height: 1.55;
  font-size: 0.94rem;
  margin-bottom: 12px;
}

.card a {
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration-thickness: 2px;
}

/* ---- Workflow points and split layouts ------------------------------------------------------- */
.number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--olive);
  margin-bottom: 13px;
  display: inline-block;
}

.point {
  padding: 23px 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.point p {
  font-size: 0.94rem;
  color: #515151;
  margin: 0;
}

.point h3 {
  margin: 0 0 8px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.split.reverse > *:first-child {
  order: 2;
}

.split.reverse > *:last-child {
  order: 1;
}

.split p {
  color: #4d4c46;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 21px 0;
}

.checklist li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 0.96rem;
}

.checklist li:before {
  content: "✓";
  font-weight: 900;
  color: var(--green);
  margin-right: 12px;
}

/* ---- Dark and olive sections ----------------------------------------------------------------- */
.dark {
  background: var(--black);
  color: var(--paper);
}

.dark h2,
.dark h3 {
  color: var(--paper);
}

.dark p {
  color: #e1e1de;
}

.dark .eyebrow {
  color: var(--orange);
}

.dark .point {
  background: #393939;
  border-color: #5d5d5d;
}

.dark .point p {
  color: #e4e4dd;
}

.olive {
  background: var(--olive);
  color: var(--paper);
}

.olive .eyebrow {
  color: #fff;
}

.olive p {
  color: #f6f2e8;
}

/* ---- Small components ------------------------------------------------------------------------ */
.mini-tag {
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 750;
}

.highlight {
  border-left: 4px solid var(--orange);
  padding: 15px 20px;
  background: #fffaf0;
  font-size: 1.03rem;
}

.hero-image-only {
  border-radius: 8px;
  max-height: 430px;
  width: 100%;
  object-fit: cover;
}

.stack {
  display: grid;
  gap: 15px;
}

.mini-snap {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
}

.mini-snap img {
  width: 90px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
}

.mini-snap strong {
  font-size: 0.86rem;
}

.mini-snap p {
  font-size: 0.79rem;
  margin: 2px 0 0;
  color: #666;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workflow .point {
  border-top: 4px solid var(--orange);
}

.workflow .point:nth-child(2) {
  border-top-color: var(--green);
}

.workflow .point:nth-child(3) {
  border-top-color: var(--olive);
}

/* ---- Closing section and footer -------------------------------------------------------------- */
.end {
  padding: 78px 0;
  background: var(--black);
  color: #fff;
}

.end h2 {
  max-width: 750px;
}

.end p {
  max-width: 650px;
  color: #ddd;
}

.footer {
  background: #232323;
  color: #e8e8e3;
  padding: 29px 0;
  font-size: 0.8rem;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  color: #e8e8e3;
}

.footer .foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---- Other components ------------------------------------------------------------------------ */
.pill {
  background: #e6e9dc;
  color: #42502c;
  border-radius: 40px;
  padding: 7px 12px;
  font-size: 0.73rem;
  font-weight: 750;
  display: inline-block;
}

.artifact {
  font-family: "Noto Sans", sans-serif;
  font-size: 0.78rem;
  color: #666;
}

.paper-surface {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  font-size: 0.92rem;
  color: #555;
}

.photo-note {
  font-size: 0.78rem;
  color: #696961;
}

.availability {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 0.79rem;
  font-weight: 700;
  color: #465a30;
}

.availability:before {
  content: "";
  background: var(--green);
  height: 7px;
  width: 7px;
  border-radius: 50%;
}

.eyecall {
  color: var(--orange);
}

.app-showcase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 23px 50px rgba(45, 45, 45, 0.08);
}

.app-showcase img {
  width: 100%;
  height: auto;
}

.app-showcase .under {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: #5b5954;
}

.image-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.image-duo .photo-frame {
  height: 275px;
}

.show-intro {
  padding: 46px 0 0;
}

.show-intro .eyebrow {
  margin-bottom: 10px;
}

.divider {
  height: 1px;
  background: var(--line);
}

.screen-note {
  color: #69645d;
  font-size: 0.82rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---- Policy pages (privacy.html) ------------------------------------------------------------- */
.policy {
  max-width: 820px;
}

.policy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 8px;
}

.policy .policy-date {
  color: #575852;
  margin-bottom: 40px;
}

.policy h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 48px 0 14px;
}

.policy li p {
  margin-bottom: 6px;
}

.policy-table {
  overflow-x: auto;
  margin: 18px 0 24px;
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.92rem;
}

.policy th,
.policy td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.policy th {
  background: var(--stone);
}

/* ---- Contact form dialog (assets/contact.js) ------------------------------------------------- */
.contact-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.contact-dialog::backdrop {
  background: rgba(45, 45, 45, 0.55);
}

.contact-form,
.contact-done {
  position: relative;
  padding: 32px 30px 28px;
}

.contact-dialog h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.contact-intro {
  color: #575852;
  margin-bottom: 22px;
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.contact-close:hover {
  background: var(--stone);
}

.contact-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.contact-dialog input[type="email"],
.contact-dialog textarea {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--graphite);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}

.contact-dialog textarea {
  resize: vertical;
}

.contact-dialog input:focus-visible,
.contact-dialog textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
}

.contact-reasons {
  border: 0;
  margin: 20px 0 0;
  padding: 0;
}

.contact-reasons label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  cursor: pointer;
}

.contact-reasons input {
  width: 18px;
  height: 18px;
  accent-color: var(--olive);
}

.contact-message {
  margin-top: 16px;
}

.contact-turnstile {
  margin-top: 18px;
}

.contact-note {
  font-size: 0.82rem;
  color: #575852;
  margin: 16px 0 0;
}

.contact-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.contact-status.is-error {
  color: #a42a1c;
  font-weight: 700;
}

.contact-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.contact-actions .btn {
  cursor: pointer;
  font-family: inherit;
}

.contact-actions .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ---- Responsive: up to 960 px wide ----------------------------------------------------------- */
@media (max-width: 960px) {
  .top-inner {
    height: 74px;
  }
  .nav {
    gap: 16px;
  }
  .nav a {
    font-size: 0.8rem;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero {
    padding: 55px 0;
  }
  .three,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    gap: 32px;
  }
  .hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
  }
}

/* ---- Responsive: up to 720 px wide (phones) -------------------------------------------------- */
@media (max-width: 720px) {
  .wrap {
    width: min(100% - 34px, 1190px);
  }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 16px 22px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse > *:first-child,
  .split.reverse > *:last-child {
    order: initial;
  }
  .hero {
    padding: 45px 0 56px;
  }
  .hero-copy h1 {
    font-size: clamp(2.45rem, 8vw, 3.5rem);
  }
  .hero-copy p {
    font-size: 1.02rem;
  }
  .three,
  .two,
  .cards,
  .workflow {
    grid-template-columns: 1fr;
  }
  .feature-band .wrap {
    align-items: flex-start;
  }
  .block {
    padding: 55px 0 !important;
  }
  .photo-frame {
    height: 310px;
  }
  .image-duo .photo-frame {
    height: 180px;
  }
  .top-inner {
    height: 74px;
  }
  .logo {
    width: 147px;
  }
  .end {
    padding: 55px 0;
  }
  .footer .wrap {
    flex-direction: column;
  }
  .mini-snap img {
    width: 70px;
  }
}

/* ---- Reduced motion -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
