/* go.scmdsd.com - campaign pages. Fonts are self-hosted (Archivo, SIL OFL 1.1). */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  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 {
  --paper: #eef3f2;      /* clinical paper */
  --sheet: #ffffff;
  --ink: #142329;        /* steel ink */
  --steel: #56676c;
  --rule: #c9d4d3;
  --grid: #dbe5e4;
  --teal: #0f6e6e;       /* same as the chat widget */
  --teal-ink: #0a5555;
  --heat: #c9770f;       /* the 134 °C plateau */
  --heat-wash: #f7e6cc;
  --bad: #b3261e;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; font-stretch: 100%; }
:lang(ja) body, body:lang(ja) { font-family: var(--font-ja); line-height: 1.75; }
a { color: var(--teal-ink); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--heat); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); overflow-wrap: break-word; hyphens: manual; }
:lang(de) h1, :lang(pl) h1 { hyphens: auto; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.02; font-stretch: 118%; letter-spacing: -0.01em; max-width: 13ch; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.12; font-stretch: 112%; margin-bottom: 28px; }
h3 { font-size: 1.12rem; line-height: 1.3; font-stretch: 104%; margin-bottom: 6px; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { font-stretch: 100%; letter-spacing: 0; line-height: 1.35; }
:lang(ja) h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 16em; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
p { margin: 0 0 12px; }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-stretch: 110%; }
.mark { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--teal); position: relative; }
.mark::after { content: ""; position: absolute; left: 4px; right: 4px; top: 7px; height: 3px; background: var(--heat); }
.lang select { font: inherit; font-size: 15px; color: var(--ink); background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 7px 30px 7px 10px; }

/* hero */
.hero { padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.kicker { color: var(--steel); font-size: 15px; margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: #2b3b40; max-width: 36em; margin: 22px 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 9px; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; padding: 13px 20px; border-radius: 8px; border: 1.5px solid var(--ink); cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--sheet); }
.btn.talk { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.talk:hover { background: #22363d; }
.btn[disabled] { opacity: .6; cursor: progress; }
.mic { width: 12px; height: 16px; border: 2px solid currentColor; border-radius: 6px; position: relative; }
.mic::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 2px; height: 4px; margin-left: -1px; background: currentColor; }
.talk-note { font-size: 14px; color: var(--steel); margin: 10px 0 0; }
.note { font-size: 14px; color: var(--steel); margin-top: 18px; }

/* the cycle chart: recorder paper */
.chart { margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 18px 16px 12px; }
.chart figcaption { font-size: 13.5px; color: var(--steel); padding: 6px 4px 0; }
.curve { display: block; width: 100%; height: auto; }
.curve .g { stroke: var(--grid); stroke-width: 1; }
.curve .ax { fill: var(--steel); font-size: 11px; font-family: var(--font); }
.curve .ph rect { fill: transparent; }
.curve .ph text { fill: var(--steel); font-size: 12px; font-family: var(--font); font-weight: 600; }
.curve .ph.hold rect { fill: var(--heat-wash); }
.curve .ph.hold text { fill: #8a4f05; }
.curve .ref { stroke: var(--heat); stroke-width: 1; stroke-dasharray: 3 4; }
.curve .refl { fill: #8a4f05; font-size: 11px; font-weight: 600; font-family: var(--font); }
.curve .line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.4,.1,.2,1) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .curve .line { animation: none; stroke-dashoffset: 0; } }

/* sections */
.band { padding: 64px 0; border-top: 1px solid var(--rule); }
.band.alt { background: var(--sheet); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.benefit { border-top: 2px solid var(--ink); padding: 18px 0 26px; }
.benefit p { color: #33444a; max-width: 34em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 54px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 6px, transparent 6px 11px); }
.steps p { color: #33444a; }

.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; }
.kit { margin: 0; }
.kit div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kit dt { font-weight: 700; }
.kit dd { margin: 0; color: #33444a; }
.cert { margin-top: 16px; font-size: 15px; color: var(--steel); }
.limits { background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid var(--ink); padding: 28px 28px 18px; align-self: start; }
.limits h2 { font-size: 1.45rem; margin-bottom: 16px; }
.limits ul { margin: 0; padding: 0; list-style: none; }
.limits li { position: relative; padding: 0 0 14px 26px; color: #2b3b40; }
.limits li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--bad); transform: rotate(45deg); }
.limits li::after { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--bad); transform: rotate(-45deg); }

/* form */
.form-band { background: var(--ink); color: #e9f0ef; border-top: 0; }
.form-band h2 { color: #fff; }
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.form-head p { color: #b9c7c6; max-width: 26em; }
.sim { background: var(--sheet); color: var(--ink); border-radius: 6px; padding: 28px; }
.row.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--steel); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); width: 100%; background: #fff; border: 1.5px solid #aab8b7; border-radius: 6px; padding: 10px 12px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 2px solid rgba(15,110,110,.25); outline-offset: 0; }
.invalid input, .invalid select, .invalid textarea, .invalid .seg { border-color: var(--bad); }
.err { color: var(--bad); font-size: 14px; margin: 5px 0 0; min-height: 0; }
.err:empty { display: none; }
.seg { display: flex; flex-wrap: wrap; border: 1.5px solid #aab8b7; border-radius: 6px; overflow: hidden; }
.seg label { flex: 1 1 auto; position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 10px 12px; cursor: pointer; border-left: 1px solid #d3dcdb; font-size: 15px; }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--teal); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--heat); outline-offset: -3px; }
.seg.wide span { min-width: 9rem; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--teal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.status { margin: 0; font-size: 15px; }
.status.ok { color: var(--teal-ink); font-weight: 600; }
.status.bad { color: var(--bad); }

/* footer */
.foot { background: var(--ink); color: #9fb0af; border-top: 1px solid #2a3d43; padding: 26px 0 34px; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
.foot a { color: #d6e2e1; margin-left: 14px; }
.foot a:first-child { margin-left: 0; }

.privacy { padding-top: 48px; padding-bottom: 64px; max-width: 760px; min-height: calc(100vh - 92px); }
.privacy h1 { margin: 12px 0 24px; font-size: 2.4rem; }

/* responsive */
@media (max-width: 920px) {
  .hero-in, .split, .form-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { padding: 0 0 0 60px; min-height: 44px; }
  .steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .hero { padding: 36px 0 44px; }
  .band { padding: 48px 0; }
  .benefits, .row.two { grid-template-columns: minmax(0, 1fr); }
  .kit div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sim { padding: 20px 16px; }
  .chart { padding: 12px 8px 8px; }
  .btn { width: 100%; justify-content: center; }
  .seg.wide { flex-direction: column; }
  .seg.wide span { border-left: 0; border-top: 1px solid #d3dcdb; }
  .seg.wide label:first-child span { border-top: 0; }
  .foot a { margin-left: 0; margin-right: 14px; }
}
