:root {
  --ink: #111827;
  --muted: #4b5563;
  --line: #d8dee8;
  --paper: #f8fafc;
  --white: #ffffff;
  --gold: #f7b733;
  --gold-soft: #fff0c9;
  --green: #256d5a;
  --green-soft: #ddeee7;
  --coral: #f26b4f;
  --shadow: 0 22px 70px rgba(17, 24, 39, .12);
  --max: 1120px;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(248, 250, 252, .9);
  border-bottom: 1px solid rgba(216, 222, 232, .8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
}

.brand img {
  display: block;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: clamp(13px, 1.05vw, 14px);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--green-soft);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(68px, 9vw, 112px) clamp(18px, 4vw, 44px) clamp(48px, 8vw, 86px);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, .98) 0%, rgba(248, 250, 252, .88) 42%, rgba(248, 250, 252, .34) 100%),
    linear-gradient(0deg, rgba(248, 250, 252, .72), rgba(248, 250, 252, .04));
}

.hero-inner {
  position: relative;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(76px, 12vw, 152px);
  line-height: .92;
  font-weight: 950;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 920;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lead {
  margin: 26px 0 0;
  width: min(650px, 100%);
  color: #283241;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.8;
  font-weight: 700;
}

.hero-kicker {
  margin: 14px 0 0;
  color: var(--green);
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 950;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 25px;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(247, 183, 51, .32);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
  width: min(620px, 100%);
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 950;
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 44px);
  background: var(--paper);
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.dark {
  color: var(--white);
  background:
    linear-gradient(135deg, #111827 0%, #1f2937 58%, #256d5a 100%);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

.lead-stack {
  display: grid;
  gap: 18px;
}

.lead-stack p,
.section-head p,
.proof p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.dark .eyebrow,
.dark p,
.dark span {
  color: rgba(255, 255, 255, .78);
}

.section-head {
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.industry-grid,
.plan-grid,
.faq-grid,
.capability-summary,
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.industry-card,
.plan-card,
.audit-box,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(17, 24, 39, .06);
}

.industry-card {
  min-height: 292px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 950;
}

.industry-card p,
.plan-card li,
.flow-list p,
.faq p,
.audit-box li {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.strength-title {
  line-height: 1.32;
  overflow-wrap: normal;
}

.strength-title span {
  display: block;
  white-space: nowrap;
}

.strength-title span + span {
  margin-top: .18em;
}

.feature-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.section.dark .feature-list {
  gap: 18px;
}

.section.dark .feature-row {
  padding-block: 22px;
}

.feature-row strong {
  color: var(--gold);
}

.plan-grid {
  align-items: stretch;
}

.plan-common {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid rgba(21, 108, 88, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(221, 238, 231, .72), rgba(255, 255, 255, .92));
}

.plan-common h3,
.maintenance-block h3,
.maintenance-block h4 {
  margin: 10px 0 0;
}

.plan-common h3 {
  font-size: 22px;
}

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

.common-list li {
  padding: 10px 12px;
  border: 1px solid rgba(21, 108, 88, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.scope-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--white);
}

.scope-note strong {
  color: var(--green);
  font-size: 18px;
}

.scope-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.plan-card {
  position: relative;
  min-height: 480px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-card.highlight {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.plan-label {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.highlight .plan-label {
  color: var(--gold);
}

.price {
  margin: 0;
  font-size: 36px;
  font-weight: 950;
}

.plan-note {
  margin: -8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.highlight .plan-note {
  color: rgba(255, 255, 255, .7);
}

.plan-card ul,
.audit-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.plan-specs {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.plan-specs div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(21, 108, 88, .14);
  border-radius: 8px;
  background: rgba(221, 238, 231, .35);
}

.plan-card.highlight .plan-specs div {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.plan-specs dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.plan-card.highlight .plan-specs dt {
  color: rgba(255, 255, 255, .68);
}

.plan-specs dd {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
}

.plan-card.highlight .plan-specs dd {
  color: var(--white);
}

.plan-addons {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.plan-addons strong {
  color: var(--green);
  font-size: 14px;
}

.plan-card.highlight .plan-addons strong {
  color: var(--gold);
}

.maintenance-block {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(221, 238, 231, .62), rgba(255, 255, 255, .96));
}

.section-head.compact {
  width: min(780px, 100%);
  margin-bottom: 22px;
}

.section-head.compact h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.maintenance-head {
  gap: 12px;
}

.maintenance-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(246, 184, 48, .24);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .03em;
}

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

.maintenance-grid article {
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(21, 108, 88, .16);
  border-radius: 8px;
  background: var(--white);
}

.plan-card,
.plan-card p,
.plan-card li,
.maintenance-grid article,
.maintenance-list li,
.maintenance-note {
  overflow-wrap: anywhere;
}

.maintenance-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.maintenance-grid h4 {
  color: var(--green);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 950;
  line-height: 1.15;
}

.maintenance-role {
  color: var(--ink);
  font-weight: 900;
}

.maintenance-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.maintenance-list li::marker {
  color: var(--green);
}

.maintenance-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(21, 108, 88, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.term-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-inline: 2px;
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: help;
  outline: none;
}

.tooltip-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 10;
  width: min(280px, 72vw);
  padding: 12px 14px;
  border: 1px solid rgba(21, 108, 88, .22);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
}

.term-tooltip:hover .tooltip-bubble,
.term-tooltip:focus .tooltip-bubble,
.term-tooltip:focus-within .tooltip-bubble {
  opacity: 1;
  transform: translate(-50%, 0);
}

.plan-card.highlight .term-tooltip {
  color: var(--gold);
}

.plan-card.highlight .tooltip-bubble {
  color: var(--ink);
}

.highlight li {
  color: rgba(255, 255, 255, .8);
}

.text-link {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.highlight .button {
  margin-top: auto;
}

.capability-summary {
  align-items: stretch;
}

.capability-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .05);
}

.capability-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.fee-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.fee-list li::marker {
  color: var(--green);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-tag.standard {
  color: #0f5132;
  background: #d9f2e4;
}

.status-tag.consult {
  color: #7c3d00;
  background: #fff0c9;
}

.status-tag.external {
  color: #7f1d1d;
  background: #fde2dc;
}

.capability-note {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.sample-grid {
  align-items: stretch;
}

.sample-card {
  display: grid;
  gap: 16px;
  padding: 16px 16px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(17, 24, 39, .06);
}

.sample-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.sample-link {
  width: fit-content;
  color: var(--green);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.demo-preview {
  display: block;
  aspect-ratio: 1200 / 760;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.demo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.demo-preview:hover img,
.demo-preview:focus-visible img {
  transform: scale(1.02);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.flow-list li {
  display: grid;
  gap: 14px;
  min-height: 258px;
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

.flow-list span {
  color: var(--green);
  font-weight: 950;
}

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

.audit-box {
  padding: 28px;
}

.audit-box h3 {
  margin-bottom: 18px;
}

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

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  line-height: 1.5;
}

details p {
  margin-top: 14px;
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact h2 {
  line-height: 1.16;
}

.contact p {
  color: rgba(255, 255, 255, .76);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(30px, 7vw, 82px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.field-label {
  color: #08204a;
}

.field-required {
  width: fit-content;
  color: #d64a1f;
  font-size: 12px;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: #c2410c;
}

.contact-form .button:disabled {
  opacity: .68;
  cursor: wait;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(37, 109, 90, .18);
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 44px);
  background: #0b1220;
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .split,
  .contact-layout,
  .industry-grid,
  .plan-grid,
  .flow-list,
  .faq-grid,
  .capability-summary,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.highlight {
    transform: none;
  }

  .flow-list li {
    min-height: auto;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(248, 250, 252, .98) 0%, rgba(248, 250, 252, .9) 64%, rgba(248, 250, 252, .45) 100%);
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 66px;
  }

  .site-nav {
    inset-top: 66px;
  }

  .brand span {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(64px, 24vw, 96px);
  }

  .hero {
    padding-top: 52px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .scope-note {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 30px;
  }

  .footer-inner {
    display: grid;
  }
}

/* Current Shishinote landing overrides */
body {
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 88px;
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  gap: clamp(28px, 5vw, 48px);
  min-height: auto;
  overflow: clip;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 44px) clamp(34px, 6vw, 70px);
  background:
    linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px),
    radial-gradient(circle at 76% 25%, rgba(221, 238, 231, .9), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, .86fr) minmax(500px, 1.14fr);
  grid-template-areas: "copy visual";
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  width: min(1380px, 100%);
  margin-inline: auto;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  min-width: 0;
}

h1 {
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: 1.06;
  letter-spacing: 0;
  white-space: normal;
}

h1 span {
  display: block;
}

h1 span:first-child {
  color: var(--green);
  white-space: normal;
}

.hero-lead {
  margin: 22px 0 0;
  width: min(620px, 100%);
  color: #172033;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.9;
  font-weight: 850;
}

.hero-actions {
  margin-top: 28px;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  min-height: clamp(430px, 45vw, 650px);
}

.hero-visual-image {
  display: block;
  width: min(900px, 100%);
  height: auto;
  margin-inline: auto 0;
  filter: drop-shadow(0 28px 46px rgba(17, 24, 39, .12));
  transform: rotate(-1deg);
}

.hero-mobile-scene {
  display: none;
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 160px repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  width: min(1220px, 100%);
  margin-inline: auto;
  padding: 18px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(17, 24, 39, .08);
}

.hero-showcase > p {
  display: grid;
  align-content: center;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.hero-showcase > p::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin-top: 12px;
  background: var(--green);
}

.hero-showcase a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 44%);
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  min-height: 120px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: var(--white);
}

.hero-showcase span,
.hero-showcase .showcase-logo {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-showcase span {
  grid-column: 1;
  align-self: end;
  color: var(--green);
  font-size: 20px;
  font-weight: 950;
}

.hero-showcase .showcase-logo {
  grid-column: 1;
  align-self: start;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(37, 109, 90, .18);
  border-radius: 999px;
  color: var(--ink);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
}

.hero-showcase img {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, .18);
}

.value-details {
  padding: 18px;
}

.value-details summary {
  cursor: pointer;
  color: var(--green);
  font-size: 16px;
  font-weight: 950;
}

.value-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.value-support-grid div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.value-support-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.value-support-grid strong {
  color: var(--ink);
  font-size: 15px;
}

.lead-stack .value-support-grid p,
.lead-stack .value-support-note {
  font-size: 13px;
  line-height: 1.7;
}

.lead-stack .value-support-note {
  margin-top: 14px;
}

.demo-preview img {
  object-fit: contain;
  object-position: center top;
  background: var(--white);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
  }

  .hero-visual {
    justify-self: center;
    width: 100%;
    max-width: 780px;
    min-height: auto;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    width: min(640px, 100%);
  }

  .value-support-grid {
    grid-template-columns: 1fr;
  }

  .plan-common,
  .maintenance-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 580px) {
  h1 {
    font-size: clamp(34px, 9.6vw, 44px);
    line-height: 1.12;
  }

  .hero {
    padding: 38px 0 24px;
    gap: 22px;
    overflow: clip;
  }

  .strength-title {
    font-size: clamp(15px, 4.7vw, 28px);
    line-height: 1.42;
  }

  .hero-inner {
    padding-inline: 18px;
  }

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

  .hero-lead {
    width: 100%;
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    display: flex;
  }

  .hero-actions .secondary {
    display: none;
  }

  .hero-actions .primary {
    width: auto;
    min-width: min(100%, 290px);
    padding-inline: 24px;
    border-radius: 999px;
  }

  .hero-visual {
    display: block;
    position: relative;
    height: auto;
    max-width: none;
    margin: -64px -18px -8px;
    pointer-events: none;
  }

  .hero-visual-image--desktop {
    display: none;
  }

  .hero-mobile-scene {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    isolation: isolate;
  }

  .hero-mobile-scene::before {
    content: "";
    position: absolute;
    inset: 88px 12px 8px;
    z-index: -1;
    border-radius: 50% 44% 42% 56%;
    background:
      radial-gradient(circle at 70% 28%, rgba(255, 255, 255, .9), transparent 42%),
      radial-gradient(circle at 28% 72%, rgba(221, 238, 231, .88), transparent 50%);
    filter: blur(2px);
  }

  .mobile-scene-composite {
    position: relative;
    left: 56%;
    display: block;
    width: min(124vw, 570px);
    max-width: none;
    height: auto;
    transform: translateX(-50%);
    filter: drop-shadow(0 22px 36px rgba(17, 24, 39, .1));
  }

  .hero-showcase {
    padding: 14px;
  }

  .hero-showcase a {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 8px;
    min-height: auto;
    padding: 16px;
  }

  .hero-showcase img {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .plan-common,
  .maintenance-block {
    padding: 20px;
  }

  .common-list {
    grid-template-columns: 1fr;
  }

  .plan-specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .maintenance-grid article {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .hero-showcase a {
    padding: 14px;
  }

  .hero-showcase .showcase-logo {
    padding: 5px 8px;
    font-size: 10px;
  }
}

/* Final SP FV layering: keep the visual above the soft green shape */
@media (max-width: 580px) {
  .hero-mobile-scene {
    min-height: min(100vw, 440px);
    background-image: none;
  }

  .hero-mobile-scene::before {
    z-index: 0;
  }

  .hero-mobile-scene::after {
    display: none;
  }

  .mobile-scene-composite {
    position: relative;
    z-index: 2;
    left: auto;
    display: block;
    width: min(78vw, 350px);
    max-width: none;
    height: auto;
    margin-inline: auto;
    transform: none;
    filter: drop-shadow(0 22px 36px rgba(17, 24, 39, .1));
  }
}
