/* Homepage sections after the approved hero. Keep the visual language editorial, warm and clear. */
.home-refined .landing-rest {
  --rest-ink: #eaf0e6;
  --rest-muted: #b8c5b5;
  --rest-soft: #829482;
  --rest-line: #34463a;
  --rest-surface: #17241c;
  --rest-surface-raised: #1d2d23;
  --rest-lime: #c2ff47;
  max-width: 1240px;
  padding: 0 clamp(24px, 5vw, 72px);
  margin: 0 auto;
  color: var(--rest-ink);
}

.landing-rest *,
.landing-rest *::before,
.landing-rest *::after { box-sizing: border-box; }

.home-refined .landing-rest .rest-section {
  padding: clamp(76px, 9vw, 124px) 0;
  border-top: 1px solid var(--rest-line);
}

.landing-rest .rest-eyebrow {
  margin: 0 0 18px;
  color: var(--rest-soft);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .11em;
  line-height: 1.45;
}

.landing-rest h2 {
  max-width: 680px;
  margin: 0 0 20px;
  font-family: var(--font-display, 'Bricolage Grotesque', sans-serif);
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.landing-rest h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.landing-rest p {
  margin: 0;
  color: var(--rest-muted);
  font-size: 15px;
  line-height: 1.72;
}

.landing-rest .rest-lead {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.65;
}

.landing-rest .rest-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding: 0 0 5px;
  color: #d4edb5;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #657e53;
  transition: color .18s ease, border-color .18s ease;
}

.landing-rest .rest-link:hover { color: var(--rest-lime); border-color: var(--rest-lime); }

/* 01 — A clear explanation of the setup journey, with a non-interactive example. */
.home-refined .landing-rest .rest-method {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  margin: 42px 0 28px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid #344a3b;
  border-radius: 18px;
  background: var(--rest-surface);
}

.landing-rest .rest-method .rest-intro { min-width: 0; }
.landing-rest .rest-method .rest-intro h2 { max-width: 510px; }
.landing-rest .rest-method .rest-intro .rest-lead { max-width: 430px; }

.home-refined .landing-rest details { margin: 0; border-bottom: 1px solid var(--rest-line); }
.home-refined .landing-rest .rest-method-item:first-child { border-top: 1px solid var(--rest-line); }
.home-refined .landing-rest details > summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  color: var(--rest-ink);
  font-size: 16px;
  font-weight: 580;
  line-height: 1.38;
  list-style: none;
  cursor: pointer;
}
.home-refined .landing-rest details > summary::-webkit-details-marker { display: none; }
.home-refined .landing-rest details > summary:focus-visible {
  outline: 2px solid var(--rest-lime);
  outline-offset: 5px;
  border-radius: 2px;
}
.landing-rest .rest-number {
  flex: 0 0 30px;
  color: var(--rest-lime);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.landing-rest .rest-expand {
  flex: 0 0 auto;
  margin-left: auto;
  color: #c2d3bd;
  font-size: 22px;
  font-weight: 350;
  transition: transform .2s ease, color .2s ease;
}
.landing-rest details[open] .rest-expand { color: var(--rest-lime); transform: rotate(45deg); }
.home-refined .landing-rest .rest-method-item > p {
  max-width: 490px;
  padding: 0 38px 22px 46px;
  font-size: 14px;
}

.rest-method-visual {
  display: block;
  margin: 34px 0 0;
  padding: 20px;
  border: 1px solid #c1d0b2;
  border-radius: 12px;
  background: #e8efdf;
  color: #203126;
}
.rest-method-visual-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #c8d4c0;
  color: #52644e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}
.rest-method-track { display: grid; grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr); align-items: center; gap: 8px; padding: 20px 0 16px; }
.rest-method-node { min-width: 0; min-height: 104px; padding: 12px 10px; border: 1px solid #d2dccb; border-radius: 8px; background: #f5f7f1; }
.rest-method-node small { display: block; margin-bottom: 13px; color: #62745c; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.rest-method-node strong { display: block; font-size: 12px; line-height: 1.3; }
.rest-method-node span { display: block; margin-top: 6px; color: #69796a; font-size: 10px; line-height: 1.4; }
.rest-method-arrow { color: #809375; text-align: center; font-size: 15px; }
.rest-method-visual figcaption { padding-top: 13px; border-top: 1px solid #c8d4c0; color: #53634f; font-size: 11px; line-height: 1.5; }

/* 02 — Tool groups are examples, not a claim of universal compatibility. */
.landing-rest .rest-tools {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 7vw, 96px);
}
.landing-rest .rest-tools > div:first-child { max-width: 480px; }
.landing-rest .rest-tool-directory { border-top: 1px solid var(--rest-line); }
.landing-rest .rest-tool-row { padding: 21px 0 24px; border-bottom: 1px solid var(--rest-line); }
.landing-rest .rest-tool-row h3 { margin-bottom: 15px; color: #dce7d8; font-size: 13px; letter-spacing: .005em; }
.landing-rest .rest-tool-row > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px 14px; }
.landing-rest .rest-tool-row span { display: flex; min-height: 48px; align-items: center; gap: 11px; color: var(--rest-ink); font-size: 13px; }
.landing-rest .rest-tool-row img { width: 30px; height: 30px; flex: 0 0 30px; padding: 4px; border: 1px solid #e2e7dd; border-radius: 7px; background: #f7f8f4; object-fit: contain; }
.landing-rest .rest-own-tool { display: grid; grid-template-columns: 30px 1fr; gap: 12px; margin-top: 22px; padding: 20px; border: 1px solid #344a3b; border-radius: 10px; background: #17241c; }
.landing-rest .rest-own-symbol { color: var(--rest-lime); font-size: 23px; line-height: 1; }
.landing-rest .rest-own-tool h3 { margin-bottom: 6px; font-size: 15px; }
.landing-rest .rest-own-tool p { font-size: 13px; line-height: 1.6; }
.landing-rest .rest-tool-caption { margin-top: 14px; color: var(--rest-soft); font-size: 11px; line-height: 1.55; }

/* 03 — Human, agent and operator responsibilities read as one connected hand-off. */
.home-refined .landing-rest .rest-ownership { padding-top: 58px; padding-bottom: 58px; }
.landing-rest .rest-section-heading { display: flex; flex-direction: column; margin-bottom: 38px; }
.landing-rest .rest-section-heading h2 { max-width: 760px; margin-bottom: 0; }
.rest-responsibilities { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; }
.rest-responsibilities article { min-width: 0; padding: 22px clamp(18px,2.8vw,36px) 24px 0; border-top: 1px solid #72866c; }
.rest-responsibilities article + article { padding-left: clamp(18px,2.8vw,36px); border-left: 1px solid #53684f; }
.rest-responsibility-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 32px; color: #d3e4c5; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.rest-responsibility-top span:first-child { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #9aba7b; border-radius: 50%; color: var(--rest-lime); font-variant-numeric: tabular-nums; }
.rest-responsibilities h3 { max-width: 280px; margin-bottom: 12px; font-size: 21px; }
.rest-responsibilities p { max-width: 360px; font-size: 14px; line-height: 1.68; }

/* 04 — Plain language answers, progressively disclosed using native details. */
.rest-faq { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(36px,7vw,96px); align-items: start; }
.landing-rest .rest-faq > div:first-child { position: sticky; top: 32px; }
.landing-rest .rest-faq-list { border-top: 1px solid var(--rest-line); }
.home-refined .landing-rest .rest-faq details > summary { min-height: 68px; padding: 18px 0; font-size: 15px; }
.home-refined .landing-rest .rest-faq details > summary::after { content: '+'; flex: 0 0 auto; margin-left: auto; color: #c8d7bf; font-size: 22px; font-weight: 350; transition: transform .2s ease, color .2s ease; }
.home-refined .landing-rest .rest-faq details[open] > summary::after { color: var(--rest-lime); transform: rotate(45deg); }
.home-refined .landing-rest .rest-faq details > p { max-width: 650px; padding: 0 36px 21px 0; color: var(--rest-muted); font-size: 14px; }

/* 05 — One decisive close; all three contact routes live in the same modal. */
.landing-rest .rest-contact {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr);
  align-items: end;
  gap: clamp(28px,5vw,68px);
  margin: 20px 0 70px;
  padding: clamp(30px,5vw,64px);
  border-radius: 16px;
  background: #c2ff47;
  color: #192316;
}
.landing-rest .rest-contact h2 { max-width: 720px; margin-bottom: 17px; font-size: clamp(34px,4.5vw,58px); }
.landing-rest .rest-contact p { max-width: 610px; color: #35472e; }
.landing-rest .rest-contact .rest-eyebrow { margin-bottom: 16px; color: #35472e; }
.rest-contact-action { display: flex; flex-direction: column; align-items: stretch; gap: 13px; }
.rest-contact-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid #253420;
  border-radius: 7px;
  background: #192316;
  color: #eff8e7;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.rest-contact-button::after { content: '↗'; font-size: 18px; font-weight: 450; }
.rest-contact-button:hover { background: #2c4128; transform: translateY(-1px); }
.rest-contact-secondary { align-self: flex-start; padding: 3px 0; color: #35472e; font-size: 12px; text-underline-offset: 4px; }
.landing-rest :is(a,button):focus-visible { outline: 2px solid var(--rest-lime); outline-offset: 4px; }
.landing-rest .rest-contact :is(a,button):focus-visible { outline-color: #24331d; }

.home-refined .site-footer {
  display: grid;
  grid-template-columns: minmax(160px,.8fr) minmax(180px,1fr) minmax(360px,2fr) auto;
  align-items: center;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px clamp(24px,5vw,72px) 42px;
  border-top: 1px solid #34463a;
}
.home-refined .site-footer .footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 19px; }
.home-refined .site-footer .footer-nav a { color: #c0cdbd; font-size: 11px; text-decoration: none; text-underline-offset: 4px; }
.home-refined .site-footer .footer-nav a:hover { color: var(--rest-lime); text-decoration: underline; }
.home-refined .site-footer > p { max-width: 230px; color: #99aa98; font-size: 11px; line-height: 1.55; }
.home-refined .site-footer > span { color: #879687; font-size: 10px; white-space: nowrap; }

@media (max-width: 900px) {
  .home-refined .landing-rest .rest-method,
  .landing-rest .rest-tools,
  .rest-faq { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .landing-rest .rest-faq > div:first-child { position: static; }
  .rest-method-visual { max-width: 560px; }
  .landing-rest .rest-contact { grid-template-columns: minmax(0,1.15fr) minmax(220px,.85fr); }
  .home-refined .site-footer { grid-template-columns: minmax(150px,.8fr) minmax(200px,1fr) auto; }
  .home-refined .site-footer > p { grid-column: 1 / 3; grid-row: 2; }
  .home-refined .site-footer .footer-nav { grid-column: 2 / 4; grid-row: 1; }
}

@media (max-width: 650px) {
  .home-refined .landing-rest { padding: 0 20px; }
  .home-refined .landing-rest .rest-section { padding: 58px 0; }
  .home-refined .landing-rest .rest-method { gap: 28px; margin: 18px 0; padding: 26px 20px; border-radius: 13px; }
  .landing-rest h2 { font-size: clamp(33px,10vw,43px); }
  .landing-rest .rest-lead { font-size: 16px; }
  .home-refined .landing-rest details > summary { min-height: 66px; gap: 12px; font-size: 15px; }
  .home-refined .landing-rest .rest-method-item > p { padding: 0 12px 20px 42px; }
  .rest-method-visual { margin-top: 24px; padding: 14px; }
  .rest-method-track { grid-template-columns: 1fr; gap: 7px; padding: 14px 0; }
  .rest-method-node { min-height: 0; padding: 12px; }
  .rest-method-node small { margin-bottom: 5px; }
  .rest-method-node span { margin-top: 3px; }
  .rest-method-arrow { height: 12px; transform: rotate(90deg); }
  .landing-rest .rest-tools { gap: 27px; }
  .landing-rest .rest-tool-row > div { gap: 7px; }
  .landing-rest .rest-tool-row span { min-height: 43px; font-size: 12px; }
  .landing-rest .rest-tool-row img { width: 27px; height: 27px; flex-basis: 27px; }
  .home-refined .landing-rest .rest-ownership { padding-top: 58px; padding-bottom: 52px; }
  .landing-rest .rest-section-heading { margin-bottom: 26px; }
  .rest-responsibilities { grid-template-columns: 1fr; }
  .rest-responsibilities article,
  .rest-responsibilities article + article { padding: 19px 0 22px; border-left: 0; }
  .rest-responsibility-top { margin-bottom: 18px; }
  .rest-responsibilities h3 { max-width: none; font-size: 20px; }
  .rest-faq { gap: 25px; }
  .home-refined .landing-rest .rest-faq details > summary { min-height: 64px; gap: 12px; }
  .home-refined .landing-rest .rest-faq details > p { padding-right: 22px; }
  .landing-rest .rest-contact { grid-template-columns: 1fr; gap: 26px; margin: 14px 0 42px; padding: 28px 23px; border-radius: 12px; }
  .landing-rest .rest-contact h2 { font-size: clamp(34px,10vw,44px); }
  .rest-contact-action { gap: 11px; }
  .home-refined .site-footer { grid-template-columns: 1fr auto; gap: 18px 14px; padding: 27px 20px 34px; }
  .home-refined .site-footer .footer-brand { grid-column: 1; grid-row: 1; }
  .home-refined .site-footer .footer-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 12px 18px; padding-top: 4px; }
  .home-refined .site-footer > p { grid-column: 1; grid-row: 3; }
  .home-refined .site-footer > span { grid-column: 2; grid-row: 3; align-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-rest *, .landing-rest *::before, .landing-rest *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Homepage: let the interactive hero lead, then keep the explanation concise. */
.home-refined .landing-rest .rest-section { padding-block: clamp(46px,6vw,74px); }
.home-refined .landing-rest .rest-method { margin: 22px 0 18px; padding: clamp(26px,4vw,46px); }
.home-refined .landing-rest .rest-method-visual { display: none; }
.home-refined .landing-rest .rest-method-list { align-self: center; }
.home-refined .landing-rest .rest-method-item > summary { min-height: 62px; padding-block: 14px; }
.home-refined .landing-rest .rest-tools { padding-block: clamp(46px,6vw,74px); }
.home-refined .landing-rest .rest-ownership { padding-block: clamp(46px,6vw,74px); }
.home-refined .landing-rest .rest-section-heading { margin-bottom: 26px; }
.home-refined .landing-rest .rest-responsibilities article { padding-top: 18px; padding-bottom: 18px; }
.home-refined .landing-rest .rest-responsibility-top { margin-bottom: 20px; }
.home-refined .landing-rest .rest-mini-faq { margin-top: 34px; }
.home-refined .landing-rest .rest-mini-faq h3 { margin: 0 0 12px; color: var(--rest-ink); font-size: 17px; }
.home-refined .landing-rest .rest-mini-faq-list { border-top: 1px solid var(--rest-line); }
.home-refined .landing-rest .rest-mini-faq details > summary { min-height: 54px; padding-block: 13px; font-size: 14px; }
.home-refined .landing-rest .rest-mini-faq details > p { max-width: 720px; padding: 0 36px 16px 0; font-size: 13px; }
.home-refined .landing-rest .rest-home-close { grid-template-columns: minmax(0,1.4fr) minmax(220px,.6fr); align-items: center; gap: 28px; margin: 34px 0 0; padding: clamp(24px,3.5vw,38px); border-radius: 12px; }
.home-refined .landing-rest .rest-home-close h2 { margin-bottom: 10px; font-size: clamp(28px,3.5vw,40px); }
.home-refined .landing-rest .rest-home-close .rest-eyebrow { margin-bottom: 10px; }
.home-refined .landing-rest .rest-home-close .rest-contact-action { align-items: stretch; }
.home-refined .landing-rest .rest-home-close .rest-contact-button { width: 100%; min-height: 48px; justify-content: space-between; }
.home-refined .landing-rest .rest-home-close .rest-contact-button::after { content: '→'; }
@media (max-width: 900px) {
  .home-refined .landing-rest .rest-home-close { grid-template-columns: 1fr; gap: 20px; }
  .home-refined .landing-rest .rest-home-close .rest-contact-action { max-width: 320px; }
}
@media (max-width: 650px) {
  .home-refined .landing-rest .rest-section { padding-block: 44px; }
  .home-refined .landing-rest .rest-method { margin-block: 12px; padding: 23px 20px; }
  .home-refined .landing-rest .rest-method-item > summary { min-height: 58px; }
  .home-refined .landing-rest .rest-mini-faq { margin-top: 25px; }
  .home-refined .landing-rest .rest-mini-faq details > summary { min-height: 54px; }
  .home-refined .landing-rest .rest-home-close { margin-top: 25px; padding: 24px 20px; }
  .home-refined .landing-rest .rest-home-close .rest-contact-action { max-width: none; }
}
