@import url("./fonts.css");

:root {
  --ink: #1e2c27;
  --ink-soft: #50615a;
  --paper: #fffdf7;
  --paper-warm: #fff7e7;
  --card: #ffffff;
  --line: #dfe6df;
  --amber: #eaa33d;
  --amber-dark: #bc7120;
  --amber-light: #ffe7b2;
  --green: #34745c;
  --green-dark: #1f5844;
  --green-light: #e1f1e9;
  --blue-light: #e9f1f5;
  --purple-light: #f0eaf7;
  --rose-light: #f8e9e6;
  --shadow-small: 0 8px 24px rgba(38, 52, 46, 0.08);
  --shadow-large: 0 30px 80px rgba(38, 52, 46, 0.16);
  --radius-small: 14px;
  --radius: 24px;
  --radius-large: 36px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #296e9f;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-warm {
  background: var(--paper-warm);
}

.section-green {
  color: #fff;
  background: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.section-green .eyebrow {
  color: #bfe4d2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 750;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 730;
}

.lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.section-green .lead,
.section-green p {
  color: #d9e7e1;
}

.text-small {
  font-size: 0.88rem;
}

.text-muted {
  color: var(--ink-soft);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(223, 230, 223, 0.8);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav > a:not(.button) {
  position: relative;
  color: #3f514a;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.menu-button svg {
  width: 23px;
  height: 23px;
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 78px 0 0;
  padding: 32px 20px;
  background: var(--paper);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  margin: 0 auto;
}

.mobile-menu a {
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: var(--paper-warm);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 9px 20px rgba(52, 116, 92, 0.2);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--green-dark);
  box-shadow: 0 13px 28px rgba(52, 116, 92, 0.28);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
}

.button-large {
  min-height: 58px;
  padding: 17px 25px;
  font-size: 1rem;
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.button-secondary:hover {
  border-color: #c2cec6;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.button-amber {
  color: var(--ink);
  background: var(--amber-light);
  box-shadow: none;
}

.button-amber:hover {
  color: var(--ink);
  background: #ffd681;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 94px 0 82px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 164, 0.7), rgba(255, 247, 231, 0) 67%);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 0.93fr) minmax(460px, 1.07fr);
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.9rem);
}

.hero-copy .lead {
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-point svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.product-stage {
  position: relative;
  min-width: 0;
}

.mascot-card {
  position: absolute;
  z-index: 3;
  top: -42px;
  right: -18px;
  display: grid;
  width: 118px;
  height: 118px;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 32px;
  background: var(--amber-light);
  box-shadow: var(--shadow-large);
  place-items: center;
  transform: rotate(4deg);
}

.mascot-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(31, 88, 68, 0.2);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-large);
  transform: rotate(-1deg);
}

.window-bar {
  display: flex;
  height: 45px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid #e7ece8;
  background: #f8faf8;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9e1dc;
}

.app-shell {
  display: grid;
  min-height: 430px;
  grid-template-columns: 150px 1fr;
}

.app-sidebar {
  padding: 23px 15px;
  color: #fff;
  background: var(--ink);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 0.73rem;
  font-weight: 800;
}

.app-logo img {
  width: 27px;
  height: 27px;
}

.app-menu {
  display: grid;
  gap: 5px;
}

.app-menu span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 8px;
  color: #c8d6d0;
  font-size: 0.64rem;
  font-weight: 650;
}

.app-menu span.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.app-menu svg {
  width: 13px;
  height: 13px;
}

.app-main {
  padding: 24px;
  background: #fbfcfb;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.app-head p {
  margin: 0;
  color: #7b8a83;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.app-head strong {
  display: block;
  font-size: 1rem;
}

.app-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--green-dark);
  background: var(--green-light);
  place-items: center;
}

.stat-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 13px;
  grid-template-columns: repeat(3, 1fr);
}

.stat-card,
.app-list {
  border: 1px solid #e6ece8;
  border-radius: 13px;
  background: #fff;
}

.stat-card {
  padding: 13px;
}

.stat-card span {
  display: block;
  margin-bottom: 5px;
  color: #7c8b84;
  font-size: 0.54rem;
}

.stat-card strong {
  font-size: 1.15rem;
}

.stat-card:nth-child(1) {
  background: #fff8e9;
}

.stat-card:nth-child(2) {
  background: #eaf6f0;
}

.stat-card:nth-child(3) {
  background: #eef3f8;
}

.app-list {
  padding: 15px;
}

.app-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.67rem;
  font-weight: 800;
}

.book-row {
  display: grid;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid #eef2ef;
  grid-template-columns: 24px 1fr auto;
}

.book-cover {
  width: 24px;
  height: 31px;
  border-radius: 4px;
  background: var(--amber-light);
}

.book-row:nth-child(3) .book-cover {
  background: var(--green-light);
}

.book-row:nth-child(4) .book-cover {
  background: var(--purple-light);
}

.book-row strong {
  display: block;
  overflow: hidden;
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-row small {
  display: block;
  color: #85928d;
  font-size: 0.5rem;
}

.status-tag {
  padding: 4px 6px;
  border-radius: 99px;
  color: var(--green-dark);
  background: var(--green-light);
  font-size: 0.48rem;
  font-weight: 800;
}

.floating-note {
  position: absolute;
  z-index: 3;
  right: -26px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid #dce8e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-small);
  font-size: 0.76rem;
  font-weight: 750;
}

.floating-note svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.mini-trust {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 12px;
  padding: 20px 26px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: var(--green);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 0.9rem;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

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

.section-heading > div:first-child {
  max-width: 760px;
}

.section-heading .lead {
  max-width: 520px;
  margin-bottom: 8px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 265px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 44, 39, 0.035);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border-radius: 15px;
  color: var(--green-dark);
  background: var(--green-light);
  place-items: center;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  color: var(--amber-dark);
  background: var(--paper-warm);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--blue-light);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--purple-light);
}

.feature-card:nth-child(6) .feature-icon {
  background: var(--rose-light);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.workflow {
  display: grid;
  gap: 16px;
  counter-reset: steps;
  grid-template-columns: repeat(3, 1fr);
}

.workflow-step {
  position: relative;
  min-height: 230px;
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-small);
  counter-increment: steps;
}

.workflow-step::before {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  content: counter(steps, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 850;
  place-items: center;
}

.workflow-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50px;
  right: -25px;
  width: 34px;
  height: 2px;
  background: var(--amber);
  content: "";
}

.workflow-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.privacy-grid {
  display: grid;
  align-items: center;
  gap: 74px;
  grid-template-columns: 1fr 0.9fr;
}

.privacy-copy .lead {
  margin-bottom: 30px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
  color: #86c5aa;
}

.local-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-large);
  background: radial-gradient(circle at 50% 40%, rgba(78, 142, 116, 0.35), transparent 58%), rgba(255, 255, 255, 0.04);
  place-items: center;
}

.computer {
  position: relative;
  width: 68%;
  aspect-ratio: 1.45;
  border: 10px solid #dbe4df;
  border-bottom-width: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.computer::before {
  position: absolute;
  z-index: -1;
  bottom: -46px;
  left: 43%;
  width: 14%;
  height: 30px;
  background: #c2cec8;
  content: "";
}

.computer::after {
  position: absolute;
  z-index: -1;
  right: 30%;
  bottom: -52px;
  left: 30%;
  height: 8px;
  border-radius: 8px;
  background: #dbe4df;
  content: "";
}

.computer-screen {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 28% 1fr;
}

.computer-side {
  background: var(--green-dark);
}

.computer-content {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f8faf8;
  grid-template-columns: repeat(2, 1fr);
}

.computer-content span {
  border-radius: 6px;
  background: #fff1d6;
}

.computer-content span:nth-child(2),
.computer-content span:nth-child(3) {
  background: #e1f1e9;
}

.local-badge {
  position: absolute;
  right: 28px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
}

.local-badge svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.pricing-wrap {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: 0.85fr 1.15fr;
}

.pricing-copy .lead {
  margin-bottom: 26px;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid #d7dfd9;
  border-radius: var(--radius-large);
  background: #fff;
  box-shadow: var(--shadow-large);
}

.price-card::after {
  position: absolute;
  top: -90px;
  right: -100px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: #fff0cf;
  content: "";
}

.price-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 30px;
  padding: 8px 12px;
  border-radius: 99px;
  color: var(--green-dark);
  background: var(--green-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 4px;
}

.price strong {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.price span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.price-tax {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.price-divider {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.price-card .check-list {
  margin-bottom: 30px;
}

.price-card .check-list svg {
  color: var(--green);
}

.price-card .button {
  width: 100%;
}

.price-footnote {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-align: center;
}

.faq-list {
  max-width: 900px;
  margin: 44px auto 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.faq-item button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 760px;
  padding: 0 0 25px;
  color: var(--ink-soft);
}

.faq-answer[hidden] {
  display: none;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  gap: 38px;
  padding: 60px;
  border-radius: var(--radius-large);
  color: #fff;
  background: var(--green-dark);
  grid-template-columns: 1fr auto;
}

.cta-card::after {
  position: absolute;
  top: -140px;
  right: 17%;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255, 216, 143, 0.13);
  content: "";
}

.cta-card h2 {
  max-width: 690px;
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.cta-card p {
  max-width: 630px;
  margin: 0;
  color: #d9e8e2;
}

.cta-card .button {
  position: relative;
  z-index: 1;
}

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

.footer-grid {
  display: grid;
  gap: 55px;
  margin-bottom: 60px;
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
}

.footer-intro {
  max-width: 330px;
}

.footer-intro .brand {
  margin-bottom: 17px;
}

.footer-intro p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-column strong {
  display: block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.subpage-hero {
  padding: 78px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.subpage-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.subpage-hero .lead {
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 23px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs span::before {
  margin-right: 8px;
  content: "/";
}

.legal-layout {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) 270px;
}

.legal-content {
  max-width: 780px;
}

.content-narrow {
  max-width: 820px;
}

.space-bottom {
  margin-bottom: 24px;
}

.space-top {
  margin-top: 28px;
}

.legal-content h2 {
  margin-top: 52px;
  font-size: 2rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 30px;
  font-size: 1.18rem;
}

.legal-content p,
.legal-content li {
  color: #3f514a;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content address {
  color: #3f514a;
  font-style: normal;
}

.legal-nav {
  position: sticky;
  top: 105px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  margin: 8px 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.placeholder-notice,
.info-notice,
.checkout-notice {
  padding: 18px 20px;
  border: 1px solid #e9ca88;
  border-radius: 14px;
  color: #6b491b;
  background: #fff6df;
  font-size: 0.9rem;
}

.placeholder-notice strong,
.info-notice strong {
  display: block;
  margin-bottom: 4px;
}

.info-notice {
  border-color: #b8d6c8;
  color: var(--green-dark);
  background: #eef8f3;
}

.checkout-layout {
  display: grid;
  align-items: start;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) 390px;
}

.checkout-card,
.order-summary {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.checkout-card h2,
.order-summary h2 {
  font-size: 1.65rem;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.84rem;
  font-weight: 750;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd6cf;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 116, 92, 0.12);
  outline: 0;
}

.checkbox-field {
  display: grid;
  align-items: start;
  gap: 10px;
  grid-template-columns: auto 1fr;
}

.checkbox-field input {
  width: 19px;
  height: 19px;
  margin-top: 4px;
  accent-color: var(--green);
}

.checkbox-field label {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-status {
  padding: 13px 15px;
  border-radius: 10px;
  color: var(--green-dark);
  background: var(--green-light);
  font-size: 0.84rem;
}

.order-summary {
  position: sticky;
  top: 105px;
}

.summary-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.summary-product img {
  width: 58px;
  height: 58px;
}

.summary-product strong,
.summary-product span {
  display: block;
}

.summary-product span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.summary-row.total {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.payment-icons span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 750;
}

.order-summary [data-unconfigured="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.order-summary [data-unconfigured="true"]:hover {
  background: var(--green);
  box-shadow: 0 9px 20px rgba(52, 116, 92, 0.2);
  transform: none;
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.divider-label::before,
.divider-label::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.error-page {
  display: grid;
  min-height: 68vh;
  padding: 70px 0;
  text-align: center;
  place-items: center;
}

.error-page img {
  width: 95px;
  margin: 0 auto 24px;
}

.error-page h1 {
  margin-inline: auto;
  font-size: clamp(3rem, 8vw, 6rem);
}

.centered-lead {
  margin-inline: auto;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .hero-grid {
    gap: 48px;
    grid-template-columns: 0.86fr 1.14fr;
  }

  .app-shell {
    min-height: 390px;
    grid-template-columns: 120px 1fr;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 0.7fr);
  }
}

@media (max-width: 879px) {
  .section {
    padding: 82px 0;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid,
  .privacy-grid,
  .pricing-wrap,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .product-stage {
    width: min(100%, 680px);
    margin: 34px auto 0;
  }

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

  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 0;
  }

  .workflow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 49px;
    width: 2px;
    height: 34px;
  }

  .local-visual {
    min-height: 390px;
  }

  .pricing-wrap {
    max-width: 720px;
    margin-inline: auto;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-card .button {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    order: -1;
  }

  .order-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    min-height: 70px;
  }

  .mobile-menu {
    inset: 70px 0 0;
  }

  .hero {
    padding: 52px 0 65px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-copy .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .mascot-card {
    top: -34px;
    right: 5px;
    width: 88px;
    height: 88px;
    border-width: 5px;
    border-radius: 24px;
  }

  .app-window {
    border-radius: 20px;
    transform: none;
  }

  .app-shell {
    min-height: 315px;
    grid-template-columns: 72px 1fr;
  }

  .app-sidebar {
    padding: 16px 8px;
  }

  .app-logo {
    justify-content: center;
  }

  .app-logo span,
  .app-menu span > span {
    display: none;
  }

  .app-menu span {
    justify-content: center;
  }

  .app-main {
    padding: 15px;
  }

  .stat-card {
    padding: 9px;
  }

  .stat-card span {
    font-size: 0.46rem;
  }

  .stat-card strong {
    font-size: 0.87rem;
  }

  .floating-note {
    right: 8px;
    bottom: -35px;
  }

  .trust-row,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 95px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .feature-card {
    min-height: 0;
  }

  .privacy-grid {
    gap: 45px;
  }

  .local-visual {
    min-height: 310px;
  }

  .price-card,
  .checkout-card,
  .order-summary {
    padding: 27px 22px;
    border-radius: 22px;
  }

  .price strong {
    font-size: 3.7rem;
  }

  .cta-card {
    padding: 40px 26px;
  }

  .cta-card .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .subpage-hero {
    padding: 52px 0 42px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .site-footer,
  .legal-nav,
  .button,
  .placeholder-notice {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .section-tight,
  .subpage-hero {
    padding: 22px 0;
  }

  .container {
    width: 100%;
  }

  .legal-layout {
    display: block;
  }

  .legal-content {
    max-width: none;
  }
}
