:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --ink: #20231f;
  --muted: #626960;
  --line: #d9ded4;
  --green: #2f6f4e;
  --green-soft: #e7f1e9;
  --blue: #315f86;
  --blue-soft: #e4eef6;
  --coral: #aa513e;
  --coral-soft: #f7e8e1;
  --gold: #9c7624;
  --gold-soft: #f5edcf;
  --shadow: 0 18px 60px rgba(32, 35, 31, 0.1);
  --radius: 8px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

.site-shell > *,
.hero > *,
.hero.compact > *,
.detail-layout > *,
.access-layout > *,
.product-card,
.info-panel {
  min-width: 0;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 35, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 31, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a.button {
  font: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
  outline: none;
}

.hero {
  padding: 56px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 34px;
  align-items: center;
}

.hero.compact {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  padding-bottom: 18px;
}

.label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
}

.lead {
  margin: 18px 0 0;
  max-width: 660px;
  color: #3a4038;
  font-size: 20px;
}

.body-copy {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.14);
  outline: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
}

.fine-print {
  margin: 16px 0 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 13px;
}

.delivery-note {
  margin-top: 16px;
  border: 1px solid #d9c88f;
  border-radius: var(--radius);
  padding: 14px;
  background: #fff8dc;
  color: #4f3b0a;
}

.delivery-note strong {
  display: block;
  margin-bottom: 4px;
}

.delivery-note p {
  margin: 0;
  color: #5e4a18;
  font-size: 14px;
}

.delivery-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-visual {
  position: relative;
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shelf-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 10px;
  padding: 16px;
}

.phone-shot {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfdfb;
  overflow: hidden;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  object-position: top center;
  background: #fffdfa;
}

.hero-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
}

.flow-strip {
  margin: 16px 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-step {
  padding: 18px;
  min-height: 118px;
  border-right: 1px solid var(--line);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-step strong {
  display: block;
  margin-top: 7px;
}

.flow-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-block {
  padding: 36px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.section-heading p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card,
.info-panel,
.access-card,
.detail-card,
.boundary-panel,
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow-wrap: anywhere;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.product-thumb {
  height: 210px;
  border-bottom: 1px solid var(--line);
  background: #fffdfa;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.product-body {
  padding: 16px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.product-body p {
  margin: 0;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.accent-date {
  background: var(--coral-soft);
}

.accent-job {
  background: var(--blue-soft);
}

.accent-ugc {
  background: var(--green-soft);
}

.accent-ai {
  background: var(--gold-soft);
}

.detail-layout,
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.detail-grid,
.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-card,
.access-card,
.info-panel,
.boundary-panel,
.checkout-panel {
  padding: 18px;
}

.detail-card ul,
.access-card ul,
.checkout-panel ul,
.boundary-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-card li,
.access-card li,
.checkout-panel li,
.boundary-panel li {
  margin: 6px 0;
}

.product-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: calc(var(--radius) - 2px);
  background: #fffdfa;
}

.checkout-panel {
  position: sticky;
  top: 92px;
}

.checkout-panel p,
.boundary-panel p,
.access-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.mock-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff7d9;
  color: #654911;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.path-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.path-item {
  border-left: 4px solid var(--green);
  padding: 8px 0 8px 12px;
  color: var(--muted);
}

.path-item strong {
  display: block;
  color: var(--ink);
}

.access-card.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.16);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 35, 31, 0.56);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow);
}

.modal p {
  color: var(--muted);
}

.recovery-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.hidden-field {
  display: none;
}

.site-footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .hero.compact,
  .detail-layout,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-strip {
    grid-template-columns: 1fr;
  }

  .flow-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }

  .flow-step:last-child {
    border-bottom: 0;
  }

  .checkout-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  body {
    min-width: 0;
  }

  .site-shell {
    width: min(100%, 360px);
    max-width: 360px;
    margin-right: auto;
    margin-left: 12px;
  }

  .site-header-inner {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 30px;
    gap: 20px;
  }

  .hero-visual {
    min-height: auto;
  }

  h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 16px;
  }

  .shelf-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-shot {
    min-height: 0;
    aspect-ratio: 9 / 14;
  }

  .phone-shot img {
    min-height: 0;
  }

  .product-grid,
  .detail-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
  }

  .product-thumb {
    height: auto;
    aspect-ratio: 9 / 12;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    text-align: center;
  }
}
