/* ===== 東海CAIO LP — clean, regional, craft tone ===== */
:root {
  --bg: #F4EFE6;
  --bg-2: #ECE5D6;
  --bg-3: #E2DAC7;
  --paper: #FAF6EC;
  --line: #2D2825;
  --line-soft: #C9BFA8;
  --line-thin: #DACFB8;
  --fg: #1A1614;
  --fg-2: #4A4540;
  --fg-3: #76706A;
  --green: #2F5D3E;
  --green-deep: #244A30;
  --green-soft: #3F7150;
  --terra: #C66B3D;
  --terra-deep: #A85631;

  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);

  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

html.theme-dark {
  --bg: #15130F;
  --bg-2: #1E1B16;
  --bg-3: #28241D;
  --paper: #1A1813;
  --line: #E8E1CF;
  --line-soft: #3A352D;
  --line-thin: #2C2922;
  --fg: #F4EFE6;
  --fg-2: #BDB6A6;
  --fg-3: #8A8478;
  --green: #6FA47B;
  --green-deep: #5A8F65;
  --green-soft: #84B791;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.en, .num { font-family: var(--en); letter-spacing: -0.01em; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.serif { font-family: var(--serif); }

/* ===== Layout primitives ===== */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line-soft);
}
.section:first-of-type { border-top: 0; }

.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: start;
}
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
}
.sec-num {
  font-family: var(--en);
  font-weight: 500;
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.18em;
  padding-top: 10px;
  border-top: 1px solid var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sec-num .pin {
  width: 6px; height: 6px;
  background: var(--terra);
}
.sec-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.005em;
  text-wrap: balance;
  color: var(--fg);
}
.sec-title em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.sec-kicker {
  display: block;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0.22em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.sec-lead {
  margin-top: 24px;
  font-size: 15.5px;
  color: var(--fg-2);
  max-width: 640px;
  line-height: 1.95;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 26px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  border-radius: 0;
}
.btn-primary {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.btn .arr {
  display: inline-block;
  width: 16px; height: 1px;
  background: currentColor;
  position: relative;
}
.btn .arr::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* ===== Pixel star bullet (from logo) ===== */
.pixstar {
  display: inline-block;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--terra), var(--terra)) center/2px 2px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 1.5px, var(--green) 1.5px 3.5px, transparent 3.5px);
}

/* ===== Tags / chips ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--fg-2);
  padding: 7px 11px;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  text-transform: uppercase;
}
.tag .dot {
  width: 5px; height: 5px;
  background: var(--terra);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 80px; height: 80px;
  display: block;
  object-fit: contain;
}
.brand .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.brand small {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  font-weight: 500;
  margin-top: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--fg-2);
}
.nav a { white-space: nowrap; }
.nav a:hover { color: var(--fg); }
.nav .pill {
  padding: 11px 18px;
  background: var(--green);
  color: var(--paper);
  font-weight: 700;
  font-size: 13px;
}
.nav .pill:hover { background: var(--green-deep); color: var(--paper); }
@media (max-width: 880px) {
  .nav a:not(.pill) { display: none; }
}

@media (max-width: 760px) {
  :root {
    --pad-x: 20px;
  }

  .site-header .row {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

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

  .brand .name {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .nav {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav a:not(.pill) {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid var(--line-soft);
    background: color-mix(in oklab, var(--bg) 86%, transparent);
    font-size: 12px;
  }

  .nav .pill {
    border-color: var(--green);
    background: var(--green);
    color: var(--paper);
    font-weight: 700;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(ellipse 90% 60% at 85% 0%, color-mix(in oklab, var(--green) 10%, transparent), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-thin) 1px, transparent 1px);
  background-size: 100% 8px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 70%);
  pointer-events: none;
}
.hero .shell { position: relative; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero-meta .region {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg);
  font-weight: 600;
}
.hero-meta .region::before {
  content: ""; width: 6px; height: 6px;
  background: var(--terra);
}
.hero-meta .div { color: var(--line-soft); }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin: 0 0 36px;
  text-wrap: balance;
  color: var(--fg);
}
.hero h1 .accent {
  color: var(--green);
}
.hero h1 .underline {
  background-image: linear-gradient(var(--terra), var(--terra));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 4px;
  padding-bottom: 2px;
}
.hero-sub {
  max-width: 660px;
  font-size: 16px;
  color: var(--fg-2);
  line-height: 2;
  margin: 0 0 44px;
}
.hero-sub strong { color: var(--fg); font-weight: 700; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

/* simpler hero highlight strip — no terminal */
.hero-strip {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
}
@media (max-width: 880px) { .hero-strip { grid-template-columns: 1fr 1fr; } }
.hero-strip > div {
  padding: 26px 28px;
  border-right: 1px solid var(--line-soft);
}
.hero-strip > div:last-child { border-right: 0; }
@media (max-width: 880px) {
  .hero-strip > div:nth-child(2n) { border-right: 0; }
  .hero-strip > div:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--line-soft); }
}
.hero-strip .lead {
  display: flex; flex-direction: column; gap: 6px;
}
.hero-strip .lead .lab {
  font-family: var(--en); font-size: 11px; letter-spacing: 0.18em;
  color: var(--fg-3); text-transform: uppercase;
}
.hero-strip .lead .v {
  font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--fg);
}
.hero-strip .stat .lab {
  font-family: var(--en); font-size: 11px; letter-spacing: 0.18em;
  color: var(--fg-3); text-transform: uppercase; display: block; margin-bottom: 6px;
}
.hero-strip .stat .v {
  font-family: var(--en); font-size: 26px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--fg);
}
.hero-strip .stat .v sup, .hero-strip .stat .v small { font-size: 0.55em; color: var(--fg-3); font-weight: 500; margin-left: 2px; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-body p {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 2.05;
  margin: 0 0 18px;
}
.about-body strong { color: var(--fg); font-weight: 700; }
.about-defs {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0;
}
.about-defs dl { margin: 0; }
.about-defs .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.about-defs .row:last-child { border-bottom: 0; }
.about-defs dt {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--terra);
  text-transform: uppercase;
  padding-top: 3px;
  font-weight: 600;
}
.about-defs dd { margin: 0; font-size: 14px; color: var(--fg); line-height: 1.7; }

/* ===== Pain points ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  padding: 32px 28px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pain-grid .pain:nth-child(3n) { border-right: 0; }
.pain-grid .pain:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 880px) {
  .pain { border-right: 0 !important; border-bottom: 1px solid var(--line-soft) !important; }
  .pain-grid .pain:last-child { border-bottom: 0 !important; }
}
.pain-i {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pain-i .check {
  width: 16px; height: 16px;
  border: 1px solid var(--fg);
  position: relative;
}
.pain-i .check::after {
  content: ""; position: absolute;
  left: 3px; top: 0px;
  width: 5px; height: 9px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}
.pain h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.6;
  color: var(--fg);
}
.pain p {
  font-size: 13.5px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.9;
}

/* ===== Domains ===== */
.dom-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.dom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .dom-grid { grid-template-columns: 1fr; } }
.dom {
  background: var(--paper);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
.dom .ico {
  width: 48px; height: 48px;
  border: 1px solid var(--fg);
  display: grid;
  place-items: center;
  font-family: var(--en);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  background: var(--bg);
}
.dom h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--fg);
}
.dom .lab {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--terra);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}
.dom p { margin: 0; font-size: 13.5px; color: var(--fg-2); line-height: 1.9; }
.dom-feat {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dom-feat span {
  font-size: 11px;
  color: var(--fg-2);
  padding: 3px 8px;
  border: 1px solid var(--line-soft);
  background: var(--bg);
}
.dom-feat span.local {
  border-color: var(--green);
  color: var(--green);
  font-weight: 600;
}

/* ===== Plans ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: var(--fg);
  color: var(--paper);
  border-color: var(--fg);
}
.plan.featured .plan-no { color: var(--terra); }
.plan.featured .plan-name { color: var(--paper); }
.plan.featured .plan-name-en { color: var(--green-soft); }
.plan.featured .plan-desc { color: rgba(244,239,230,0.78); }
.plan.featured .plan-list li { color: rgba(244,239,230,0.85); }
.plan.featured .plan-list li::before { border-color: var(--terra); }
.plan.featured .plan-price { border-color: rgba(244,239,230,0.18); }
.plan.featured .plan-price .v { color: var(--paper); }
.plan.featured .plan-price .pre, .plan.featured .plan-price .u { color: rgba(244,239,230,0.6); }
.plan-flag {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
}
.plan-no {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--terra);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.plan-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: 0.005em;
}
.plan-name-en {
  font-family: var(--en);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
  font-weight: 600;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 22px;
}
.plan-price .pre { font-size: 13px; color: var(--fg-3); }
.plan-price .v {
  font-family: var(--en);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.plan-price .u { font-size: 13px; color: var(--fg-3); }
.plan-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.95;
  margin: 0 0 22px;
}
.plan-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.plan-list li {
  font-size: 13.5px;
  color: var(--fg-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; justify-content: center; width: 100%; }
.plan.featured .btn-primary { background: var(--terra); border-color: var(--terra); color: var(--paper); }
.plan.featured .btn-primary:hover { background: var(--terra-deep); border-color: var(--terra-deep); }

/* ===== Process ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--line);
  padding: 24px 22px;
  background: var(--paper);
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.step-num {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--terra);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num .dash { flex: 1; height: 1px; background: var(--line-soft); }
.step h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.6;
  color: var(--fg);
}
.step p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.85;
  margin: 0;
}
.step-time {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  border-top: 1px dashed var(--line-soft);
}

/* ===== Profile ===== */
.profile {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
.profile-no-photo {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}
@media (max-width: 880px) { .profile { grid-template-columns: 1fr; } }
.portrait {
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--bg-2) 12px 13px);
  position: relative;
  overflow: hidden;
}
.portrait .label {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  padding: 4px 8px;
}
.portrait .frame-cnr {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--fg);
}
.portrait .tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.portrait .tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.portrait .bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.portrait .br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.profile-meta { padding-top: 8px; }
.profile-no-photo .profile-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 18px 56px;
  align-items: start;
}
.profile-no-photo .profile-meta .who,
.profile-no-photo .profile-meta h3,
.profile-no-photo .profile-meta .role,
.profile-no-photo .profile-meta p {
  grid-column: 1;
}
.profile-no-photo .profile-meta .exp {
  grid-column: 2;
  grid-row: 1 / span 6;
  margin-top: 0;
  grid-template-columns: 1fr;
}
.profile-meta .who {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--terra);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}
.profile-meta h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: 0.005em;
}
.profile-meta .role {
  font-size: 14px;
  color: var(--fg-3);
  margin-bottom: 28px;
}
.profile-meta p {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 2;
  margin: 0 0 16px;
}
.exp {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.exp-item .y {
  font-family: var(--en);
  font-size: 11px;
  color: var(--terra);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .profile-no-photo .profile-meta {
    display: block;
  }

  .profile-no-photo .profile-meta .exp {
    margin-top: 28px;
    grid-template-columns: 1fr 1fr;
  }
}

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

  .sec-title {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.38;
  }

  .sec-lead,
  .profile-meta p {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .hero {
    padding: 74px 0 56px;
  }

  .hero-meta {
    gap: 8px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(39px, 14vw, 58px);
    line-height: 1.14;
  }

  .hero-sub {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .hero-cta {
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

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

  .hero-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero-strip > div:last-child {
    border-bottom: 0;
  }

  .plans,
  .steps,
  .dom-grid,
  .pain-grid,
  .about-grid {
    gap: 14px;
  }

  .profile-meta h3 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .profile-meta .role {
    line-height: 1.7;
  }

  .profile-no-photo .profile-meta .exp {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 28px 20px;
  }

  .site-footer .row {
    align-items: flex-start;
  }
}
.exp-item .t { font-size: 14px; color: var(--fg); font-weight: 600; }
.exp-item .d { font-size: 12px; color: var(--fg-3); margin-top: 2px; line-height: 1.7; }

/* ===== FAQ ===== */
.faqs {
  border-top: 1px solid var(--line);
}
.faq {
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
  cursor: pointer;
}
.faq summary {
  list-style: none;
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 18px;
  align-items: center;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .q-no {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 600;
  color: var(--terra);
  letter-spacing: 0.16em;
}
.faq .toggle {
  width: 18px; height: 18px;
  position: relative;
}
.faq .toggle::before, .faq .toggle::after {
  content: "";
  position: absolute;
  background: var(--fg);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.faq .toggle::before { width: 14px; height: 1.5px; }
.faq .toggle::after { width: 1.5px; height: 14px; transition: transform .25s; }
.faq[open] .toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq .a {
  margin: 16px 0 4px 74px;
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 2;
  max-width: 760px;
}

/* ===== Final CTA ===== */
.cta-final {
  background: var(--fg);
  color: var(--paper);
  border-top: 0;
}
.cta-final .sec-num { color: rgba(244,239,230,0.5); border-color: rgba(244,239,230,0.4); }
.cta-final .sec-kicker { color: var(--terra); }
.cta-final .sec-title { color: var(--paper); }
.cta-final .sec-title em { color: var(--green-soft); }

.cta-card {
  border: 1px solid rgba(244,239,230,0.18);
  background: rgba(244,239,230,0.02);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 880px) { .cta-card { grid-template-columns: 1fr; gap: 32px; } }
.cta-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 20px;
  letter-spacing: 0.005em;
  color: var(--paper);
}
.cta-card h3 em { font-style: normal; color: var(--terra); }
.cta-card p { color: rgba(244,239,230,0.78); font-size: 15px; line-height: 2; margin: 0 0 8px; }

.cta-side {
  border-left: 1px solid rgba(244,239,230,0.18);
  padding-left: 40px;
  display: grid;
  gap: 16px;
}
@media (max-width: 880px) { .cta-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(244,239,230,0.18); padding-top: 28px; } }
.cta-side .row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  font-size: 13px;
  align-items: baseline;
}
.cta-side .row .l {
  font-family: var(--en); font-size: 11px; letter-spacing: 0.16em;
  color: rgba(244,239,230,0.55); text-transform: uppercase; font-weight: 600;
}
.cta-side .row .v { color: var(--paper); font-weight: 600; }
.cta-side .actions { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.cta-side .actions .btn-primary { background: var(--terra); border-color: var(--terra); color: var(--paper); }
.cta-side .actions .btn-primary:hover { background: var(--terra-deep); border-color: var(--terra-deep); }
.cta-side .actions .btn-ghost { color: var(--paper); border-color: rgba(244,239,230,0.4); }
.cta-side .actions .btn-ghost:hover { background: var(--paper); color: var(--fg); border-color: var(--paper); }
.cta-side .btn { justify-content: center; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 32px;
  font-size: 13px;
  color: var(--fg-3);
  background: var(--bg);
}
.site-footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .links a:hover { color: var(--fg); }

/* selection */
::selection { background: var(--green); color: var(--paper); }

/* ===== Responsive polish ===== */
@media (max-width: 880px) {
  .site-header .row {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

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

  .brand small {
    display: none;
  }

  .nav {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav a:not(.pill) {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid var(--line-soft);
    background: color-mix(in oklab, var(--bg) 86%, transparent);
    font-size: 12px;
  }

  .nav .pill {
    border-color: var(--green);
    background: var(--green);
    color: var(--paper);
  }
}

@media (min-width: 901px) {
  .profile-no-photo .profile-meta {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
    gap: 18px 56px;
    align-items: start;
  }

  .profile-no-photo .profile-meta .who,
  .profile-no-photo .profile-meta h3,
  .profile-no-photo .profile-meta .role,
  .profile-no-photo .profile-meta p {
    grid-column: 1;
  }

  .profile-no-photo .profile-meta .exp {
    grid-column: 2;
    grid-row: 1 / span 6;
    margin-top: 0;
    grid-template-columns: 1fr;
  }
}

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

  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .brand .name {
    font-size: 17px;
  }

  .nav a,
  .nav a:not(.pill) {
    font-size: 11.5px;
    min-height: 36px;
    padding: 8px 10px;
  }

  .sec-head {
    gap: 14px;
    margin-bottom: 34px;
  }

  .sec-title {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.38;
  }

  .sec-lead,
  .profile-meta p {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .hero {
    padding: 72px 0 54px;
  }

  .hero h1 {
    font-size: clamp(39px, 14vw, 58px);
    line-height: 1.14;
  }

  .hero-sub {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .hero-cta {
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

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

  .hero-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero-strip > div:last-child {
    border-bottom: 0;
  }

  .profile-meta h3 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .profile-meta .role {
    line-height: 1.7;
  }

  .profile-no-photo .profile-meta .exp,
  .exp {
    grid-template-columns: 1fr;
  }

  .faq summary {
    grid-template-columns: 44px 1fr 20px;
    gap: 12px;
    font-size: 15.5px;
  }

  .faq .a {
    margin-left: 56px;
    font-size: 14px;
  }

  .cta-card {
    padding: 28px 20px;
  }

  .cta-side .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer .row {
    align-items: flex-start;
  }
}
