@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --green: #183e35;
  --deep: #13372e;
  --lime: #dbf586;
  --paper: #f5f5ee;
  --white: #fff;
  --line: #d7dfd3;
  font-family: 'DM Sans', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--green);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
}

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

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

button {
  cursor: pointer;
}

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

p {
  line-height: 1.9;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #65830d;
  outline-offset: 5px;
}

::selection {
  background: var(--lime);
  color: var(--green);
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 15px;
  background: var(--lime);
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.header {
  height: 104px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 35px;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -1.8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--lime);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 33px;
  line-height: 1;
  letter-spacing: -3px;
  padding: 0 3px 7px 0;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a {
  padding: 15px 0;
}

.desktop-nav a:hover {
  border-bottom: 1px solid;
}

.header-cta {
  display: flex;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--green);
  border-radius: 3px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
}

.header-cta:hover {
  background: var(--green);
  color: var(--white);
}

.header-cta span {
  font-size: 22px;
}

.menu-button,.mobile-nav {
  display: none;
}

.hero {
  padding: 28px 5% 0;
}

.hero-topline,.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 500;
}

.preview-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: .04em;
}

.preview-status i,.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  gap: 30px;
  padding: 40px 0 42px;
}

.hero-copy {
  padding: 22px 0 12px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 600;
  margin: 0 0 22px;
}

.hero-copy>.eyebrow {
  font-size: 14px;
  letter-spacing: .07em;
}

h1,h2,h3,h4 {
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: clamp(52px,5.65vw,90px);
  line-height: 1.4;
  letter-spacing: -.075em;
  white-space: nowrap;
  margin: 0 0 27px;
}

.ink-loop {
  position: relative;
  isolation: isolate;
}

.ink-loop:after {
  content: '';
  position: absolute;
  background: var(--lime);
  left: -3%;
  right: -5%;
  bottom: 7%;
  height: 29%;
  z-index: -1;
  transform: rotate(-3deg);
}

.hero-description {
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
}

.button {
  border: 0;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  font-size: 16px;
  min-height: 61px;
  padding: 19px 23px;
  font-weight: 600;
  transition: background .2s,transform .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.lime {
  background: var(--lime);
  color: var(--green);
}

.lime:hover {
  background: #cbea69;
}

.dark {
  background: var(--green);
  color: white;
}

.dark:hover {
  background: #285849;
}

.underlink {
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding: 7px 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.underlink:hover {
  opacity: .7;
}

.hero-note {
  font-size: 14px;
  color: #5b6b5e;
  line-height: 1.8;
  max-width: 350px;
  margin: 18px 0 0;
}

.hero-photo {
  position: relative;
  margin: 0;
  min-height: 565px;
  overflow: hidden;
  border-radius: 220px 3px 3px 3px;
}

.hero-photo img {
  height: 100%;
  width: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 43% center;
}

.hero-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#071e16bd,transparent 55%);
}

.hero-photo figcaption {
  position: absolute;
  bottom: 35px;
  left: 34px;
  right: 30px;
  color: white;
  z-index: 1;
}

.hero-photo figcaption>span {
  font-size: 27px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.03em;
  display: block;
}

.hero-photo figcaption small {
  display: block;
  margin-top: 15px;
  font-size: 12px;
  color: #f0f5eb;
}

.photo-index {
  position: absolute;
  right: 24px;
  top: 24px;
  writing-mode: vertical-rl;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1.5px;
  z-index: 1;
}

.hero-bottom {
  border-top: 1px solid #bccbb9;
  padding: 20px 0 24px;
  gap: 20px;
}

.hero-bottom>span:first-child {
  font-size: 14px;
  letter-spacing: .04em;
}

.hero-bottom b {
  margin: 0 16px;
  font-weight: 400;
  color: #4f6446;
}

.hero-bottom i {
  font-size: 22px;
  font-style: normal;
  margin-left: 25px;
}

.section {
  padding: 108px 7%;
}

.section-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  align-items: center;
  margin-bottom: 55px;
}

.section-label>span:first-child {
  display: flex;
  align-items: center;
  gap: 13px;
}

.section-label b {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.section-label>span:last-child {
  font-size: 12px;
  letter-spacing: .04em;
}

h2 {
  font-size: clamp(34px,3.2vw,50px);
  line-height: 1.65;
  letter-spacing: -.055em;
}

.model {
  background: #fff;
}

.model-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.model-heading h2 span {
  color: #67825d;
}

.model-heading p {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 18px;
}

.model-heading p:last-child {
  margin-bottom: 0;
}

.model-system {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  margin-top: 52px;
  padding: 30px 35px 0;
  border: 1px solid #ccd6c4;
  border-radius: 4px;
  background: #f8f9f4;
}

.local-block,.system-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 10px 35px;
  text-align: center;
}

.micro {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  margin: 0;
  line-height: 1.5;
}

.model-system h3 {
  font-size: 20px;
  margin-top: 20px;
  letter-spacing: -.03em;
}

.model-system article>p:last-child {
  font-size: 13px;
  color: #5e7257;
  margin: 11px 0 0;
}

.building-icon {
  width: 62px;
  height: 61px;
  border: 2px solid var(--green);
  display: grid;
  grid-template-columns: repeat(3,6px);
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  margin-top: 27px;
  position: relative;
}

.building-icon:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 24px;
  width: 12px;
  height: 16px;
  background: var(--green);
}

.building-icon i {
  height: 6px;
  background: var(--green);
}

.system-symbol {
  height: 61px;
  font-size: 79px;
  line-height: 61px;
  margin-top: 27px;
}

.model-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 37px;
  font-weight: 400;
  padding-bottom: 26px;
}

.model-connector span {
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
}

.model-result {
  grid-column: 1/-1;
  border-top: 1px solid #ccd6c4;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.model-result>span:first-child {
  font-size: 12px;
  white-space: nowrap;
}

.model-result p {
  font-size: 24px;
  letter-spacing: -.05em;
  line-height: 1.6;
  margin: 0;
}

.model-result p strong {
  font-weight: 600;
}

.model-result>span:last-child {
  font-size: 30px;
}

.operation {
  background: var(--green);
  color: white;
}

.operation .section-label {
  color: #d4e2cd;
}

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

.operation-heading h2 span {
  color: var(--lime);
}

.operation-heading .eyebrow {
  color: #d0dfc9;
  font-size: 14px;
  margin-bottom: 10px;
}

.operation-heading>p {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 8px;
  color: #e0e8dd;
}

.workspace {
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  color: var(--green);
  box-shadow: 0 28px 65px #04271d40;
}

.workspace-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.workspace-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}

.workspace-brand b {
  font-size: 19px;
  letter-spacing: -.6px;
}

.workspace-brand>span {
  font-size: 12px;
  letter-spacing: 1.4px;
  margin-left: 13px;
  font-weight: 500;
}

.demo-label {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #cad5c3;
  border-radius: 3px;
  background: #f5f8ef;
}

.workspace-layout {
  display: grid;
  grid-template-columns: 29% 71%;
}

.workspace-sidebar {
  padding: 30px 21px;
  border-right: 1px solid var(--line);
  background: #f6f8f1;
  display: flex;
  flex-direction: column;
}

.workspace-sidebar>.micro {
  font-size: 12px;
  letter-spacing: .08em;
  margin: 0 11px 23px;
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-tabs button {
  border: 0;
  background: none;
  display: flex;
  gap: 13px;
  text-align: left;
  padding: 17px 12px;
  align-items: flex-start;
  width: 100%;
  border-radius: 3px;
}

.feature-tabs button[aria-selected=true] {
  background: var(--green);
  color: white;
}

.feature-tabs button:not([aria-selected=true]):hover {
  background: #e8eedd;
}

.tab-number {
  font-size: 12px;
  line-height: 24px;
  opacity: .75;
}

.feature-tabs button>span:nth-child(2) {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  flex: 1;
}

.feature-tabs small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
  opacity: .8;
}

.feature-tabs b {
  font-size: 19px;
  font-weight: 400;
}

.sidebar-note {
  margin-top: auto;
  padding: 45px 12px 10px;
}

.sidebar-note>span {
  font-size: 43px;
  color: #5c7e43;
}

.sidebar-note p {
  font-size: 13px;
  line-height: 1.9;
  margin: 13px 0 0;
  color: #516748;
}

.workflow {
  padding: 30px 32px 26px;
  min-width: 0;
}

.flow-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.flow-heading .micro {
  color: #526d44;
  font-size: 12px;
  margin: 0 0 9px;
}

.flow-heading h3 {
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: -.04em;
}

.sample-pill {
  font-size: 12px;
  white-space: nowrap;
  background: #eef2e8;
  border-radius: 3px;
  padding: 6px 8px;
}

.request {
  display: flex;
  gap: 13px;
  margin: 26px 0;
  background: #f7f8f4;
  border: 1px solid #e0e7d8;
  border-radius: 3px;
  padding: 19px;
}

.request-avatar {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5dfcb;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}

.request b {
  font-size: 12px;
  font-weight: 500;
  color: #586e4e;
}

.request p {
  font-size: 16px;
  line-height: 1.8;
  margin: 7px 0 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
  gap: 10px;
}

.workflow-steps li {
  display: flex;
  gap: 9px;
  align-items: center;
  position: relative;
  color: #4f6446;
  min-width: 0;
}

.step-dot {
  width: 26px;
  height: 26px;
  border: 1px solid #ccd6c4;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.is-complete .step-dot {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.is-current .step-dot {
  background: var(--lime);
  border-color: #8fa845;
}

.workflow-steps b {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 500;
  white-space: nowrap;
}

.workflow-steps small {
  display: block;
  font-size: 12px;
  letter-spacing: .3px;
  line-height: 1.7;
}

.is-current b {
  color: var(--green);
  font-weight: 700;
}

.decision-card {
  border: 1px solid #bdcf9f;
  background: #f5f9ed;
  padding: 23px;
  border-radius: 3px;
}

.decision-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
}

.decision-meta>span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.decision-meta>span:first-child:before {
  content: '';
  width: 6px;
  height: 6px;
  background: #6d853e;
  border-radius: 50%;
}

.decision-card h4 {
  font-size: 18px;
  line-height: 1.7;
}

.decision-card>p:not(.simulation-note) {
  font-size: 16px;
  line-height: 1.85;
  margin: 11px 0 20px;
  color: #506445;
}

.decision-card .button {
  font-size: 14px;
  min-height: 49px;
  padding: 13px 17px;
  gap: 30px;
}

.simulation-note {
  font-size: 14px;
  line-height: 1.8;
  color: #5b704a;
  margin: 13px 0 0;
}

.workspace-footer {
  border-top: 1px solid var(--line);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: #59704e;
}

.workspace-footer a {
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}

.workspace-footer a:hover {
  text-decoration: underline;
}

.workspace-footer a>span {
  margin-left: 13px;
}

.succession {
  background: var(--paper);
}

.succession-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
}

.succession-intro {
  position: relative;
}

.oversized-quote {
  position: absolute;
  font-family: Georgia,serif;
  font-size: 210px;
  line-height: 1;
  color: #e2e7d6;
  left: -28px;
  top: -30px;
  z-index: 0;
}

.succession-intro h2 {
  font-size: 37px;
  line-height: 1.75;
  position: relative;
  letter-spacing: -.045em;
}

.succession-intro h2 span {
  color: #6a8059;
}

.succession-intro p {
  font-size: 16px;
  line-height: 2;
  margin: 23px 0 0;
  position: relative;
}

.succession-intro .underlink {
  margin-top: 24px;
  font-size: 14px;
}

.succession-principles {
  border-top: 1px solid #bbc8af;
}

.succession-principles article {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid #bbc8af;
  padding: 31px 0;
}

.succession-principles article>span {
  font-size: 13px;
  color: #4f6446;
  margin-top: 5px;
}

.succession-principles h3 {
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: -.04em;
}

.succession-principles p {
  font-size: 16px;
  line-height: 1.95;
  color: #5d6c52;
  margin: 14px 0 0;
}

.questions {
  padding-top: 35px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 55px;
}

.questions h2 {
  font-size: 34px;
}

.questions .eyebrow {
  font-size: 12px;
  margin-bottom: 20px;
}

.faq-list {
  border-top: 1px solid #becab3;
}

details {
  border-bottom: 1px solid #becab3;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.9;
  padding: 25px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary>span {
  font-size: 25px;
  flex-shrink: 0;
  transition: transform .2s;
}

details[open] summary>span {
  transform: rotate(45deg);
}

details>p {
  font-size: 16px;
  line-height: 1.95;
  color: #5c6d50;
  margin: 0;
  padding: 0 25px 25px 0;
}

.next-section {
  padding: 35px 5% 0;
  margin: 0 2%;
  background: var(--lime);
  border-radius: 5px;
}

.next-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #9eba69;
  padding-bottom: 26px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.next-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  padding: 44px 0 47px;
  align-items: center;
}

.next-grid h2 {
  font-size: 41px;
  line-height: 1.65;
}

.next-grid>div>p {
  font-size: 16px;
  line-height: 2;
  margin: 20px 0 0;
}

.next-action .button {
  width: 100%;
}

.next-action>p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 15px;
}

.next-action .underlink {
  margin-top: 20px;
}

.next-bottom {
  border-top: 1px solid #9eba69;
  display: flex;
  justify-content: space-between;
  font-size: clamp(20px,3.9vw,65px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.1;
  padding: 26px 0 31px;
  gap: 20px;
}

.next-bottom i {
  font-style: normal;
}

.footer {
  padding: 45px 5% 25px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-bottom: 40px;
}

.footer-top>p {
  font-size: 12px;
  margin: 0;
}

.back-top {
  font-size: 12px;
  margin-left: auto;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12px;
  color: #5b7053;
  align-items: center;
}

.footer-bottom>span:nth-child(2) {
  margin-left: auto;
}

.footer-bottom button {
  padding: 8px 0;
  background: none;
  border: 0;
  font-size: 12px;
}

.footer-bottom button:hover {
  text-decoration: underline;
}

dialog {
  border: 0;
  border-radius: 5px;
  padding: 44px;
  max-width: 570px;
  width: calc(100% - 30px);
  max-height: 90dvh;
  overflow: auto;
  color: var(--green);
  box-shadow: 0 30px 100px #001b1255;
}

dialog::backdrop {
  background: #0e281fcc;
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #f0f4e8;
  border-radius: 50%;
  font-size: 28px;
}

dialog .eyebrow {
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 10px;
}

dialog h2 {
  font-size: 28px;
  line-height: 1.65;
}

dialog>p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.9;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  font-size: 14px;
  font-weight: 500;
  margin: 19px 0 11px;
}

form label>span {
  font-size: 12px;
  color: #5a704e;
  margin-left: 8px;
  font-weight: 400;
}

select,textarea {
  font-size: 16px;
  border: 1px solid #c5d1b8;
  border-radius: 3px;
  padding: 13px;
  background: #f9faf6;
  width: 100%;
}

textarea {
  resize: vertical;
  line-height: 1.8;
}

.form-notice {
  font-size: 14px;
  line-height: 1.85;
  color: #56694a;
  margin: 16px 0 24px;
}

#form-status {
  font-size: 13px;
  line-height: 1.8;
  margin: 13px 0 0;
  min-height: 0;
}

#form-status:empty {
  display: none;
}

@media(min-width:1550px) {
  .hero,.header,.footer {
    padding-left: max(5%,calc((100vw - 1440px)/2));
    padding-right: max(5%,calc((100vw - 1440px)/2));
  }
  .section {
    padding-left: max(7%,calc((100vw - 1320px)/2));
    padding-right: max(7%,calc((100vw - 1320px)/2));
  }
  .hero-photo {
    min-height: 640px;
  }
  .next-section {
    margin-left: max(2%,calc((100vw - 1500px)/2));
    margin-right: max(2%,calc((100vw - 1500px)/2));
  }
}

@media(max-width:1100px) {
  .header {
    gap: 23px;
    height: 90px;
  }
  .desktop-nav {
    gap: 20px;
    font-size: 12px;
  }
  .logo {
    font-size: 29px;
  }
  .header-cta {
    font-size: 12px;
    padding: 12px 15px;
    gap: 20px;
  }
  .hero {
    padding-top: 23px;
  }
  .hero-grid {
    gap: 22px;
    padding-top: 32px;
  }
  .hero-copy {
    padding-top: 18px;
  }
  h1 {
    font-size: 5.65vw;
  }
  .hero-photo {
    min-height: 535px;
  }
  .hero-photo figcaption>span {
    font-size: 23px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 18px;
    gap: 23px;
  }
  .hero-actions .underlink {
    font-size: 12px;
  }
  .hero-note {
    font-size: 14px;
  }
  .section {
    padding: 85px 5.5%;
  }
  .model-heading {
    gap: 35px;
  }
  .model-system {
    padding: 28px 25px 0;
  }
  .operation-heading {
    gap: 30px;
  }
  .workspace-layout {
    grid-template-columns: 30% 70%;
  }
  .workspace-sidebar {
    padding: 26px 12px;
  }
  .feature-tabs button {
    gap: 8px;
    padding: 16px 10px;
  }
  .feature-tabs button>span:nth-child(2) {
    font-size: 12px;
  }
  .workflow {
    padding: 26px 23px;
  }
  .flow-heading h3 {
    font-size: 17px;
  }
  .workflow-steps b {
    font-size: 12px;
  }
  .workflow-steps {
    gap: 7px;
  }
  .workflow-steps li {
    gap: 6px;
  }
  .sample-pill {
    font-size: 12px;
  }
  .succession-grid {
    gap: 40px;
  }
  .succession-intro h2 {
    font-size: 32px;
  }
  .succession-principles article {
    gap: 16px;
  }
  .succession-principles h3 {
    font-size: 19px;
  }
  .questions {
    padding-top: 15px;
    gap: 40px;
  }
  .next-grid {
    gap: 40px;
  }
  .next-grid h2 {
    font-size: 35px;
  }
  .next-action .button {
    font-size: 14px;
    padding: 18px;
  }
  .footer-top {
    gap: 25px;
  }
}

@media(max-width:800px) {
  .header {
    height: 80px;
    padding: 0 5%;
    gap: 20px;
  }
  .desktop-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .menu-button {
    display: flex;
    width: 30px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: none;
    border: 0;
    padding: 4px;
  }
  .menu-button span {
    height: 1px;
    background: var(--green);
    width: 22px;
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    padding: 15px 6% 25px;
    background: var(--paper);
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px #123d3215;
  }
  .mobile-nav a {
    padding: 18px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .hero-topline {
    font-size: 12px;
  }
  .preview-status {
    font-size: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 22px;
    padding: 30px 0;
  }
  .hero-copy>.eyebrow {
    font-size: 12px;
  }
  h1 {
    font-size: 5.7vw;
    letter-spacing: -.08em;
    margin-bottom: 24px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 2;
  }
  .hero-photo {
    min-height: 525px;
    border-top-left-radius: 140px;
  }
  .hero-photo figcaption {
    left: 22px;
    right: 20px;
    bottom: 25px;
  }
  .hero-photo figcaption>span {
    font-size: 20px;
  }
  .hero-photo figcaption small {
    font-size: 12px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .hero-actions .button {
    font-size: 14px;
    gap: 29px;
  }
  .hero-note {
    font-size: 14px;
    line-height: 1.8;
  }
  .hero-bottom {
    font-size: 12px;
    letter-spacing: .4px;
  }
  .hero-bottom>span:first-child {
    font-size: 12px;
    letter-spacing: 0;
  }
  .hero-bottom b {
    margin: 0 8px;
  }
  .hero-bottom i {
    margin-left: 9px;
  }
  .section {
    padding: 72px 6%;
  }
  .section-label {
    margin-bottom: 37px;
    font-size: 12px;
    letter-spacing: .8px;
  }
  .section-label>span:last-child {
    font-size: 12px;
  }
  .model-heading {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  h2 {
    font-size: 36px;
  }
  .model-heading>div {
    max-width: 580px;
  }
  .model-system {
    margin-top: 35px;
    padding: 25px 20px 0;
    grid-template-columns: 1fr 40px 1fr;
  }
  .model-system h3 {
    font-size: 16px;
  }
  .model-system article>p:last-child {
    font-size: 12px;
  }
  .model-connector {
    font-size: 30px;
  }
  .model-connector span {
    width: 35px;
    height: 35px;
  }
  .model-result p {
    font-size: 22px;
  }
  .operation-heading {
    display: block;
  }
  .operation-heading>p {
    margin: 22px 0 0;
  }
  .operation-heading>p br {
    display: none;
  }
  .workspace-layout {
    grid-template-columns: 1fr;
  }
  .workspace-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 19px;
  }
  .workspace-sidebar>.micro,.sidebar-note {
    display: none;
  }
  .feature-tabs {
    flex-direction: row;
    gap: 7px;
  }
  .feature-tabs button {
    width: 33.33%;
    padding: 14px 10px;
    gap: 7px;
  }
  .feature-tabs button>span:nth-child(2) {
    font-size: 12px;
  }
  .feature-tabs b {
    display: none;
  }
  .feature-tabs small {
    font-size: 12px;
  }
  .tab-number {
    font-size: 12px;
  }
  .workflow {
    padding: 27px;
  }
  .flow-heading h3 {
    font-size: 19px;
  }
  .workflow-steps {
    gap: 15px;
  }
  .workflow-steps b {
    font-size: 13px;
  }
  .workflow-steps small {
    font-size: 12px;
  }
  .workflow-steps li {
    gap: 10px;
  }
  .sample-pill {
    font-size: 12px;
  }
  .workspace-footer {
    padding: 18px 23px;
    font-size: 14px;
  }
  .workspace-footer a {
    font-size: 12px;
  }
  .succession-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .succession-intro h2 {
    font-size: 35px;
  }
  .succession-intro h2 br:nth-of-type(1) {
    display: none;
  }
  .succession-intro p {
    max-width: 570px;
  }
  .succession-principles article {
    padding: 25px 0;
    gap: 25px;
  }
  .succession-principles h3 {
    font-size: 21px;
  }
  .questions {
    padding-top: 5px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .questions h2 {
    font-size: 31px;
  }
  .questions h2 br {
    display: none;
  }
  .next-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    padding: 33px 0;
  }
  .next-grid h2 {
    font-size: 28px;
  }
  .next-grid>div>p {
    font-size: 14px;
  }
  .next-action .button {
    font-size: 12px;
    padding: 17px 14px;
    gap: 15px;
  }
  .next-action .underlink {
    font-size: 12px;
    gap: 10px;
  }
  .next-action>p {
    font-size: 14px;
  }
  .next-top .micro {
    font-size: 12px;
  }
  .availability {
    font-size: 12px;
  }
  .next-bottom {
    font-size: 4vw;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top>p {
    font-size: 12px;
  }
  .footer-bottom {
    font-size: 12px;
    gap: 15px;
  }
  .footer-bottom button {
    font-size: 12px;
  }
}

@media(max-width:540px) {
  .header {
    height: 73px;
    gap: 14px;
  }
  .logo {
    font-size: 27px;
    gap: 8px;
  }
  .brandmark {
    width: 30px;
    height: 30px;
    font-size: 28px;
    padding-bottom: 6px;
  }
  .header-cta {
    font-size: 12px;
    gap: 13px;
    padding: 10px 12px;
  }
  .header-cta span {
    font-size: 17px;
  }
  .menu-button {
    width: 25px;
  }
  .mobile-nav:not([hidden]) {
    top: 73px;
  }
  .hero {
    padding: 22px 6% 0;
  }
  .hero-topline {
    font-size: 12px;
    letter-spacing: .65px;
  }
  .preview-status {
    font-size: 12px;
    gap: 6px;
    letter-spacing: 0;
  }
  .preview-status i {
    width: 5px;
    height: 5px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 30px 0 26px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy>.eyebrow {
    font-size: 12px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(42px,11vw,59px);
    line-height: 1.42;
    letter-spacing: -.06em;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: -.035em;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: row;
    gap: 18px;
    align-items: center;
  }
  .hero-actions .button {
    font-size: 14px;
    min-height: 56px;
    gap: 19px;
    padding: 17px;
  }
  .hero-actions .underlink {
    font-size: 12px;
    gap: 8px;
  }
  .hero-note {
    font-size: 14px;
    max-width: none;
    margin-top: 15px;
  }
  .hero-photo {
    min-height: 345px;
    border-radius: 135px 3px 3px 3px;
  }
  .hero-photo img {
    object-position: center center;
  }
  .hero-photo figcaption {
    left: 25px;
    bottom: 24px;
  }
  .hero-photo figcaption>span {
    font-size: 22px;
  }
  .hero-photo figcaption small {
    font-size: 12px;
    margin-top: 11px;
  }
  .photo-index {
    top: 20px;
    right: 18px;
    font-size: 12px;
  }
  .hero-bottom {
    padding: 17px 0 21px;
    gap: 10px;
  }
  .hero-bottom>span:first-child {
    font-size: 12px;
    white-space: nowrap;
  }
  .hero-bottom>span:last-child {
    font-size: 12px;
    max-width: 120px;
    line-height: 1.7;
    display: flex;
    align-items: center;
  }
  .hero-bottom i {
    font-size: 20px;
  }
  .hero-bottom b {
    margin: 0 6px;
  }
  .section {
    padding: 58px 6%;
  }
  .section-label {
    font-size: 12px;
    letter-spacing: .5px;
    gap: 12px;
    margin-bottom: 32px;
  }
  .section-label>span:first-child {
    gap: 9px;
  }
  .section-label b {
    width: 24px;
    height: 24px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .section-label>span:last-child {
    font-size: 12px;
    letter-spacing: 0;
  }
  .model-heading {
    gap: 22px;
  }
  h2 {
    font-size: 31px;
    line-height: 1.65;
    letter-spacing: -.06em;
  }
  .model-heading p {
    font-size: 16px;
    line-height: 1.95;
  }
  .model-system {
    grid-template-columns: 1fr;
    padding: 23px 21px 0;
    margin-top: 32px;
  }
  .local-block,.system-block {
    padding: 5px 0 20px;
  }
  .model-system .micro {
    font-size: 12px;
  }
  .building-icon {
    margin-top: 18px;
    width: 54px;
    height: 55px;
    padding: 10px 8px;
  }
  .building-icon:after {
    left: 19px;
  }
  .system-symbol {
    font-size: 66px;
    margin-top: 18px;
    height: 55px;
    line-height: 55px;
  }
  .model-system h3 {
    font-size: 20px;
    margin-top: 18px;
  }
  .model-system article>p:last-child {
    font-size: 12px;
  }
  .model-connector {
    padding: 0;
    margin: 0 0 18px;
  }
  .model-connector span {
    width: 32px;
    height: 32px;
    font-size: 28px;
  }
  .model-result {
    padding: 22px 0;
    gap: 14px;
    flex-wrap: wrap;
  }
  .model-result>span:first-child {
    font-size: 12px;
    width: 100%;
  }
  .model-result p {
    font-size: 20px;
  }
  .model-result strong {
    display: block;
  }
  .model-result>span:last-child {
    font-size: 30px;
  }
  .operation-heading {
    margin-bottom: 28px;
  }
  .operation-heading .eyebrow {
    font-size: 13px;
  }
  .operation-heading>p {
    font-size: 16px;
    line-height: 1.95;
    margin-top: 20px;
  }
  .workspace {
    margin: 0 -8px;
  }
  .workspace-header {
    padding: 18px 17px;
    gap: 10px;
  }
  .workspace-brand {
    font-size: 21px;
    gap: 6px;
  }
  .workspace-brand b {
    font-size: 18px;
  }
  .workspace-brand>span {
    display: none;
  }
  .demo-label {
    font-size: 12px;
    padding: 5px 7px;
  }
  .workspace-sidebar {
    padding: 12px 10px;
  }
  .feature-tabs {
    gap: 5px;
  }
  .feature-tabs button {
    padding: 12px 7px;
    display: block;
  }
  .feature-tabs .tab-number {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
    line-height: 1.3;
  }
  .feature-tabs button>span:nth-child(2) {
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
  }
  .feature-tabs small {
    font-size: 12px;
    margin-top: 5px;
  }
  .workflow {
    padding: 22px 17px;
  }
  .flow-heading {
    display: block;
  }
  .flow-heading h3 {
    font-size: 18px;
  }
  .flow-heading .micro {
    font-size: 12px;
    margin-bottom: 7px;
  }
  .sample-pill {
    font-size: 12px;
    display: inline-block;
    margin-top: 11px;
  }
  .request {
    padding: 16px 13px;
    margin: 20px 0;
    gap: 10px;
  }
  .request-avatar {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .request b {
    font-size: 12px;
  }
  .request p {
    font-size: 16px;
    line-height: 1.8;
  }
  .workflow-steps {
    gap: 7px;
    margin-bottom: 21px;
  }
  .workflow-steps li {
    display: block;
  }
  .step-dot {
    width: 23px;
    height: 23px;
    font-size: 12px;
    margin-bottom: 8px;
  }
  .workflow-steps b {
    font-size: 12px;
    letter-spacing: -.035em;
  }
  .workflow-steps small {
    font-size: 12px;
    letter-spacing: 0;
  }
  .decision-card {
    padding: 18px 15px;
  }
  .decision-meta {
    font-size: 12px;
    letter-spacing: 0;
    margin-bottom: 14px;
  }
  .decision-card h4 {
    font-size: 17px;
    line-height: 1.7;
  }
  .decision-card>p:not(.simulation-note) {
    font-size: 16px;
    line-height: 1.9;
    margin: 11px 0 20px;
  }
  .decision-card .button {
    font-size: 13px;
    min-height: 49px;
    width: 100%;
    padding: 14px;
    gap: 15px;
  }
  .simulation-note {
    font-size: 14px;
  }
  .workspace-footer {
    padding: 17px;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
  }
  .workspace-footer a {
    font-size: 13px;
  }
  .succession .section-label>span:last-child {
    display: none;
  }
  .succession-intro h2 {
    font-size: 29px;
    line-height: 1.8;
  }
  .succession-intro h2 br:nth-of-type(1) {
    display: block;
  }
  .oversized-quote {
    font-size: 165px;
    left: -10px;
    top: -25px;
  }
  .succession-intro p {
    font-size: 16px;
    line-height: 2;
    letter-spacing: -.025em;
  }
  .succession-intro .underlink {
    font-size: 13px;
  }
  .succession-grid {
    gap: 32px;
  }
  .succession-principles article {
    gap: 16px;
    padding: 26px 0;
  }
  .succession-principles article>span {
    font-size: 12px;
    margin-top: 6px;
  }
  .succession-principles h3 {
    font-size: 19px;
    line-height: 1.7;
  }
  .succession-principles p {
    font-size: 16px;
    line-height: 1.95;
    margin-top: 11px;
  }
  .questions {
    padding-top: 0;
    gap: 28px;
  }
  .questions .eyebrow {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .questions h2 {
    font-size: 29px;
  }
  .questions h2 br {
    display: block;
  }
  summary {
    font-size: 16px;
    padding: 22px 0;
    gap: 14px;
    letter-spacing: -.04em;
  }
  summary>span {
    font-size: 22px;
  }
  details>p {
    font-size: 16px;
    padding-right: 0;
    line-height: 1.95;
  }
  .next-section {
    margin: 0 12px;
    padding: 26px 6% 0;
  }
  .next-top {
    gap: 10px;
    padding-bottom: 22px;
  }
  .next-top .micro {
    font-size: 12px;
    letter-spacing: .5px;
  }
  .availability {
    font-size: 12px;
    gap: 6px;
  }
  .availability i {
    width: 5px;
    height: 5px;
  }
  .next-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 29px 0 28px;
  }
  .next-grid h2 {
    font-size: 29px;
    line-height: 1.65;
  }
  .next-grid>div>p {
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: -.035em;
    margin-top: 19px;
  }
  .next-action .button {
    font-size: 15px;
    padding: 18px;
    min-height: 59px;
  }
  .next-action>p {
    font-size: 14px;
    margin-top: 13px;
    letter-spacing: 0;
  }
  .next-action .underlink {
    font-size: 13px;
    margin-top: 15px;
  }
  .next-bottom {
    font-size: 19px;
    line-height: 1.2;
    padding: 21px 0 23px;
    letter-spacing: -.065em;
    gap: 10px;
  }
  .footer {
    padding: 36px 6% 22px;
  }
  .footer-top {
    gap: 17px;
    margin-bottom: 25px;
  }
  .footer-top>p {
    width: 100%;
    order: 3;
    font-size: 12px;
  }
  .back-top {
    font-size: 12px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    padding-top: 18px;
  }
  .footer-bottom>span:nth-child(2) {
    margin-left: auto;
  }
  .footer-bottom button {
    font-size: 12px;
  }
  dialog {
    padding: 34px 25px;
  }
  dialog h2 {
    font-size: 25px;
  }
  dialog .eyebrow {
    max-width: 230px;
    font-size: 12px;
    margin-top: 12px;
  }
  dialog>p:not(.eyebrow) {
    font-size: 16px;
  }
  dialog .button {
    font-size: 14px;
    padding: 18px;
    gap: 15px;
  }
}

@media(max-width:360px) {
  .header {
    gap: 9px;
    padding: 0 5%;
  }
  .logo {
    font-size: 24px;
  }
  .header-cta {
    font-size: 12px;
    gap: 8px;
    padding: 10px;
  }
  .brandmark {
    width: 27px;
    height: 27px;
    font-size: 25px;
  }
  .hero-actions {
    gap: 14px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 16px 14px;
    gap: 12px;
  }
  .hero-actions .underlink {
    font-size: 12px;
  }
  .hero-description {
    font-size: 16px;
    letter-spacing: -.065em;
  }
  .feature-tabs button>span:nth-child(2) {
    font-size: 12px;
  }
  .next-bottom {
    font-size: 16px;
  }
  .next-grid h2 {
    font-size: 27px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
    animation: none!important;
  }
}

.local-word {
  font-size: 47px;
  font-weight: 600;
  line-height: 61px;
  height: 61px;
  letter-spacing: -4px;
  margin-top: 27px;
}

@media(max-width:540px) {
  .local-word {
    font-size: 43px;
    margin-top: 18px;
    height: 55px;
    line-height: 55px;
  }
}

@media(min-width:541px) and (max-width:800px) {
  .hero-description,.next-grid>div>p {
    font-size: 16px;
  }
  .hero-description {
    letter-spacing: -.045em;
  }
}

/* Small labels remain readable without forcing horizontal overflow. */
@media(max-width:540px) {
  .hero-topline,.section-label,.next-top,.workspace-header {
    flex-wrap: wrap;
  }
  .hero-topline {
    row-gap: 10px;
  }
  .section-label {
    row-gap: 10px;
  }
  .feature-tabs button>span:nth-child(2) {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .feature-tabs small {
    line-height: 1.6;
  }
  .workflow-steps small {
    overflow-wrap: anywhere;
  }
  .hero-bottom>span:first-child {
    white-space: normal;
  }
  .next-top {
    row-gap: 12px;
  }
  .workspace-header {
    row-gap: 12px;
  }
  .photo-index {
    writing-mode: horizontal-tb;
  }
  .footer-bottom>span:nth-child(2) {
    margin-left: 0;
  }
}

/* Notices remain legible at every viewport, including narrow dialog layouts. */
.hero-note,
.simulation-note,
.form-notice,
.next-grid .next-action > p,
.workspace-footer,
.workspace-footer a {
  font-size: 14px;
}

#memo-next {
  margin-top: 20px;
}

#memo-next[hidden] {
  display: none;
}

/* The living town is the hero: the full simulation, framed for the story. */
.hero-grid{grid-template-columns:1fr 1.12fr;gap:36px;align-items:center}
.hero-town{min-width:0;overflow:hidden;background:#e7eee8;border-radius:18px;color:#244d3d;box-shadow:0 18px 60px #0b28182b;transform:none}
.hero-town-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 4px;font-family:'DM Sans',sans-serif;font-size:10px;letter-spacing:1.2px;gap:12px}
.hero-town-heading>span:first-child{display:flex;align-items:center;gap:7px;font-weight:600}.hero-town-heading i{width:6px;height:6px;border-radius:50%;background:#5a8a5b}.hero-town-heading>span:last-child{font-size:8px;color:#627867}
.hero-town iframe{width:100%;height:494px;display:block;border:0;transform:rotate(0deg)}
.hero-town-footer{padding:14px 23px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #d4dfd3;margin-top:4px}
.hero-town-footer p{font-size:13px;margin:0;letter-spacing:.02em}.hero-town-footer strong{font-weight:600}.hero-town-footer a{font-size:11px;border-bottom:1px solid #899f8b;padding:6px 0;white-space:nowrap}.hero-town-footer a:hover{color:#091f14}
@media(min-width:801px) and (max-width:1150px){.hero-grid{gap:22px}.hero h1{font-size:clamp(44px,5.4vw,66px)}.hero-town iframe{height:464px}.hero-town-heading{padding-left:16px;padding-right:16px}.hero-town-footer{padding-left:16px;padding-right:16px}.hero-town-footer p{font-size:11px}}
@media(max-width:800px){.hero-grid{grid-template-columns:1fr;gap:32px}.hero-town{transform:none;max-width:600px;width:100%;justify-self:center}.hero-town iframe{height:490px}}
@media(max-width:540px){.hero-grid{gap:28px;padding-bottom:30px}.hero-town{border-radius:12px}.hero-town-heading{padding:16px 14px 0;font-size:9px;letter-spacing:.7px}.hero-town-heading>span:last-child{font-size:7px}.hero-town iframe{height:424px}.hero-town-footer{padding:12px 14px 16px}.hero-town-footer p{font-size:11px}.hero-town-footer a{font-size:10px}}

/* Phone layouts: readable copy, reachable actions, and a town close to the headline. */
@media(max-width:540px){
 html{scroll-padding-top:80px}
 .header{height:64px;padding:0 16px;gap:8px}
 .logo{font-size:24px;gap:6px;min-height:44px}
 .brandmark{width:28px;height:28px;font-size:25px}
 .header-cta{margin-left:auto;min-height:44px;padding:8px 10px;font-size:12px;gap:7px}
 .menu-button{flex:0 0 44px;width:44px;height:44px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:6px}
 .menu-button span{width:22px;margin:0}
 .mobile-nav:not([hidden]){top:64px;max-height:calc(100dvh - 64px);overflow:auto}
 .mobile-nav a{min-height:48px;display:flex;align-items:center}
 .hero{padding:18px 20px 0}
 .hero-topline{gap:8px;font-size:10px;letter-spacing:.5px}
 .preview-status{font-size:10px}
 .hero-grid{padding-top:24px;gap:22px}
 .hero-copy>.eyebrow{margin-bottom:12px}
 .hero h1{font-size:clamp(36px,10.5vw,53px);line-height:1.3;margin-bottom:16px}
 .hero-description{font-size:15px;line-height:1.8;letter-spacing:0;margin-bottom:18px}
 .hero-description br:last-of-type{display:initial}
 .hero-actions{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:12px}
 .hero-actions .button{min-height:48px;padding:12px;font-size:13px;gap:10px;justify-content:space-between}
 .hero-actions .underlink{min-height:48px;font-size:12px;justify-content:center;gap:6px}
 .hero-note{font-size:12px;line-height:1.7;margin-top:12px}
 .hero-town{width:calc(100% + 16px);max-width:none;border-radius:14px;box-shadow:0 10px 28px #173f3512}
 .hero-town-heading{padding:14px 14px 0}
 .hero-town iframe{height:400px}
 .hero-town-footer{padding:4px 14px 8px;gap:8px}
 .hero-town-footer p{font-size:12px}.hero-town-footer a{font-size:12px;min-height:44px;display:flex;align-items:center;gap:6px}
 .hero-bottom{display:block;padding:16px 0}.hero-bottom>span:last-child{display:none}
 .section{padding:44px 20px}.section-label{margin-bottom:24px;letter-spacing:0;font-size:11px}
 h2{font-size:clamp(26px,7.5vw,34px);line-height:1.55}
 .workspace{margin:0 -8px}.workspace-header{padding:16px 12px}
 .feature-tabs{display:grid;grid-template-columns:1fr;gap:6px}
 .feature-tabs button{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;text-align:left;padding:12px;min-height:60px}
 .feature-tabs .tab-number{margin:0;grid-row:1 / 3}
 .feature-tabs button>span:nth-child(2){font-size:14px;line-height:1.4}
 .feature-tabs small{font-size:12px;margin:3px 0 0}
 .feature-tabs button>span:last-child:not(:nth-child(2)){display:none}
 .workflow{padding:20px 14px}.workflow-steps{gap:8px}
 .workflow-steps li{min-width:0}
 .button,button,summary{touch-action:manipulation}
 .workspace-footer{gap:12px;flex-wrap:wrap;font-size:12px}.workspace-footer a{min-height:44px;display:flex;align-items:center}
 .dialog-close{width:44px;height:44px}
 dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:28px 20px;overflow-y:auto;overscroll-behavior:contain}
 select,textarea,input{font-size:16px;max-width:100%}
 .footer-bottom button,.footer-top>a{min-height:44px}
}
@media(max-width:360px){
 .header{padding:0 10px;gap:4px}.logo{font-size:21px}.header-cta{font-size:11px;padding:8px}.header-cta span{display:none}
 .hero{padding-left:16px;padding-right:16px}.hero-actions{gap:8px}.hero-actions .button{font-size:12px;padding:10px}
 .hero-description{font-size:14px}.section{padding-left:16px;padding-right:16px}
}

/* Full-width scenario tabs on phones and tablets; no inherited one-third widths. */
@media(max-width:800px){
 .feature-tabs{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;min-width:0}
 .feature-tabs button{width:100%;min-width:0;min-height:76px;display:grid;grid-template-columns:32px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:14px 16px;border:1px solid #d8e1d2;border-radius:10px;background:#fff}
 .feature-tabs .tab-number{grid-row:auto;display:grid;place-items:center;margin:0;width:30px;height:30px;line-height:1;font-size:12px;border-radius:50%;background:#edf2e7;opacity:1;color:#476343}
 .feature-tabs button>span:nth-child(2){display:block;min-width:0;font-size:15px;line-height:1.5;white-space:normal;overflow-wrap:normal;word-break:normal}
 .feature-tabs small{font-size:12px;line-height:1.5;margin-top:3px;opacity:.8}
 .feature-tabs b{display:block;font-size:20px;line-height:1;text-align:right}
 .feature-tabs button[aria-selected=true]{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 3px 10px #183e3514}
 .feature-tabs button[aria-selected=true] .tab-number{background:#ffffff22;color:#fff}
 .feature-tabs button:focus-visible{outline-offset:2px}
}
@media(max-width:360px){
 .feature-tabs button{padding:12px;gap:9px;grid-template-columns:28px minmax(0,1fr) 18px}
 .feature-tabs button>span:nth-child(2){font-size:14px}.feature-tabs .tab-number{width:28px;height:28px}
}
