@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/dm-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/noto-sans-sc-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/noto-sans-sc-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/noto-sans-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("/fonts/noto-serif-sc-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff;
  --ink: hsl(220 15% 8%);
  --muted: hsl(220 9% 46%);
  --line: hsl(220 13% 91%);
  --soft: hsl(220 14% 97%);
  --green: hsl(158 76% 36%);
  --green-deep: hsl(162 82% 24%);
  --green-soft: hsl(158 76% 36% / 0.12);
  --shadow: 0 10px 40px -12px hsl(220 15% 8% / 0.12);
  --card: 0 1px 2px hsl(220 15% 8% / 0.04), 0 8px 24px -8px hsl(220 15% 8% / 0.08);
  --radius: 1.25rem;
  --max: 1180px;
  --sans: "DM Sans", "Noto Sans SC", "PingFang SC", sans-serif;
  --serif: "Noto Serif SC", "DM Serif Display", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, hsl(158 76% 36% / 0.08), transparent 42%),
    radial-gradient(circle at 88% 8%, hsl(152 82% 50% / 0.06), transparent 36%),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.accent {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  color: var(--green);
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 16px 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  padding: 10px 14px 10px 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.menu { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px; }
.menu-item { position: relative; }
.menu-btn, .menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: hsl(220 10% 28%);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 999px;
}
.menu-btn:hover, .menu-link:hover, .menu-item.open .menu-btn { background: var(--soft); }
.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}
.drop {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 78vw);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.menu-item.open .drop { display: grid; gap: 16px; }
.drop.cols-3 { grid-template-columns: repeat(3, 1fr); width: min(860px, 86vw); }
.drop.cols-2 { grid-template-columns: 1fr 1fr; }
.drop.narrow { width: min(360px, 78vw); grid-template-columns: 1fr; }
.drop h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.drop a {
  display: block;
  padding: 8px 8px;
  border-radius: 12px;
}
.drop a strong { display: block; font-size: 14px; font-weight: 600; }
.drop a span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.drop a:hover { background: var(--soft); }
.nav-cta { margin-left: 0; flex: 0 0 auto; }
.burger {
  display: none;
  margin-left: 8px;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.burger span, .burger span:before, .burger span:after {
  display: block; height: 1.5px; width: 16px; background: var(--ink); position: relative;
}
.burger span:before, .burger span:after { content: ""; position: absolute; left: 0; }
.burger span:before { top: -5px; }
.burger span:after { top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px var(--green); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cfd6de; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

.hero { padding: 54px 0 20px; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  border-radius: 999px;
  color: hsl(220 9% 36%);
  font-size: 14px;
}
.pill b {
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.hero h1 {
  margin: 0 auto 18px;
  max-width: 920px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.stack-form { display: flex; gap: 8px; }
.field, .stack-form input, .stack-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  height: 48px;
  padding: 0 18px;
  font-size: 15px;
  color: var(--ink);
}
.stack-form { flex-direction: column; }
.stack-form textarea {
  height: 120px;
  border-radius: 18px;
  padding: 14px 18px;
  resize: vertical;
}
.field:focus, .stack-form input:focus, .stack-form textarea:focus {
  outline: 2px solid hsl(158 76% 36% / 0.35);
  border-color: var(--green);
  background: #fff;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 42px auto 10px;
  text-align: center;
}
.stats strong { display: block; font-size: 42px; letter-spacing: -0.04em; line-height: 1; }
.stats span { color: var(--muted); font-size: 14px; }

.marquee-wrap { margin: 28px 0 10px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.marquee-label { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 0.18em; margin: 18px 0 0; }
.marquee { display: flex; width: max-content; animation: slide 48s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 64px; padding: 20px 32px; }
.logo-set img { height: 36px; width: auto; display: block; }
.logo-set img.tall { height: 52px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 84px 0; }
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.center { text-align: center; }
.sub { color: var(--muted); font-size: 18px; max-width: 720px; }
.center .sub { margin-left: auto; margin-right: auto; }
.soft { background: hsl(220 14% 97% / 0.7); }
.dark {
  background: var(--ink);
  color: #fff;
}
.dark .sub, .dark .kicker { color: hsl(152 40% 74%); }
.dark .sub { color: hsl(220 10% 74%); }

.projects, .models, .hub, .offers {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.projects { display: block; column-count: 2; column-gap: 16px; }
.projects > * { break-inside: avoid; margin-bottom: 16px; height: auto; }
.projects.is-masonry { column-count: 1; position: relative; }
.models { grid-template-columns: repeat(3, 1fr); }
.hub { grid-template-columns: repeat(3, 1fr); }
.offers { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 22px 18px;
  box-shadow: var(--card);
}
.card .num {
  font-family: var(--mono);
  color: var(--green);
  font-size: 13px;
}
.card h3 { margin: 8px 0 12px; font-size: 22px; letter-spacing: -0.02em; }
.card p { margin: 0 0 10px; color: hsl(220 10% 32%); }
.card .label { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.skills { color: var(--muted); font-size: 14px; }
.card .more {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 650;
  background: none;
  border: 0;
  padding: 0;
  font-size: 15px;
}
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 650;
  vertical-align: middle;
}
.model-card h3 { font-size: 20px; }
.model-card ul { margin: 0; padding-left: 18px; color: hsl(220 10% 32%); }
.model-card li { margin: 6px 0; }
.hub a.card { display: block; min-height: 150px; }
.hub a.card:hover { border-color: hsl(158 40% 70%); }
a.project-card { display: block; color: inherit; }
a.project-card:hover { border-color: hsl(158 40% 70%); }
.project-card { padding: 12px 12px 16px; }
.project-shot {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  border-radius: 16px;
}
.case-layout { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 36px; align-items: start; padding-bottom: 72px; }
.case-video {
  width: 100%;
  max-height: 78vh;
  border-radius: 20px;
  background: #111;
}
.shots { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.shots img { width: 200px; border-radius: 22px; background: #111; }
.shots.board img { width: min(100%, 520px); border-radius: 12px; }
.case-points { margin: 8px 0 20px; padding-left: 18px; color: hsl(220 10% 32%); }
.case-points li { margin: 8px 0; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.compare article { border-radius: 24px; padding: 28px; border: 1px solid var(--line); background: #fff; }
.compare .bad { background: hsl(220 14% 96%); }
.compare .good { border-color: hsl(158 40% 70%); background: hsl(158 60% 97%); }
.compare h3 { margin-top: 0; }
.compare li { margin: 8px 0; }

.offer {
  background: hsl(220 15% 14%);
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: 24px;
  padding: 24px;
}
.offer h3 { margin: 8px 0; font-size: 24px; }
.offer p { color: hsl(220 10% 74%); }
.offer li { margin: 6px 0; color: #fff; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.quote p { margin-top: 0; font-size: 16px; }
.quote b { display: block; }
.quote span { color: var(--muted); font-size: 13px; }
.metric { color: var(--green-deep); font-weight: 700; }
.stars { color: var(--green); letter-spacing: 2px; font-size: 14px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chips span {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: hsl(220 10% 32%);
  font-size: 14px;
}
.cmp-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 680px; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: hsl(220 10% 28%); font-weight: 600; }
.cmp thead th { font-size: 15px; font-weight: 700; }
.cmp .us { background: hsl(158 76% 36% / 0.07); }
.cmp thead .us { color: var(--green); }
.cmp .hint { display: block; margin-top: 2px; font-weight: 500; color: var(--muted); font-size: 12px; }
.mark-yes { color: var(--green); font-weight: 700; }
.mark-no { color: #e11d48; font-weight: 700; }
.mark-mid { color: var(--green); font-size: 14px; }
.cmp-cta {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 32px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.cmp-cta h3 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.03em; }

.founder-intro { padding-top: 36px; }
.profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--card);
}
.profile h1 { margin: 0 0 8px; font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1.05; }
.profile .sub { margin: 0 0 18px; }
.founder-photo {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 12%;
}
.bio-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 650;
}
.bio-tags.quiet { margin-top: 10px; }
.bio-tags.quiet span {
  background: var(--soft);
  color: hsl(220 10% 32%);
  font-weight: 500;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.facts article {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.facts p { margin: 8px 0 0; color: hsl(220 10% 28%); }
.bio-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.talks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 48px; }
.talks figure { margin: 0; }
.talks img { width: 100%; border-radius: 16px; aspect-ratio: 3/2; object-fit: cover; }
.talks-wide { grid-column: 1 / -1; width: 100%; }
.talks-wide img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: fill;
  display: block;
  background: none;
}
.talks figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.why { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.why ul { margin: 0; padding: 0; list-style: none; }
.why li { padding: 14px 0; border-top: 1px solid var(--line); }
.why strong { display: block; }

.cta-band { text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); }

.footer { border-top: 1px solid var(--line); padding: 42px 0 28px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer img { height: 34px; width: auto; margin-bottom: 12px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer a { display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: var(--green); }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.legal nav { display: flex; gap: 16px; }
.legal a { display: inline; }

.page-hero { padding: 48px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 12px; }
.faq-list { max-width: 820px; margin: 10px auto 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item dd { display: none; margin: 0 0 16px; color: hsl(220 10% 32%); }
.faq-item.open dd { display: block; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; padding-bottom: 70px; }
.points { display: grid; gap: 16px; margin-top: 28px; }
.point { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.point i {
  width: 52px; height: 52px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-deep); font-style: normal; font-weight: 700;
}
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: var(--card); }
.form-card h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.form-card .hint { color: var(--muted); margin-top: 0; }
label { display: block; font-size: 13px; font-weight: 650; margin: 10px 0 6px; }
.error { color: #b42318; font-size: 13px; min-height: 1.2em; }
.fine { color: var(--muted); font-size: 12px; }
.success {
  display: none;
  padding: 28px 8px;
  text-align: center;
}
.success.show { display: block; }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 60px; }

.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 20px;
}
.modal-back { position: absolute; inset: 0; background: hsl(220 15% 8% / 0.46); border: 0; }
.modal .form-card { position: relative; width: min(480px, 100%); max-height: min(92vh, 760px); overflow: auto; }
.close-x {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
}

@media (max-width: 980px) {
  .menu { display: none; flex: none; }
  .nav.open .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 78px; left: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 110px);
    overflow: auto;
  }
  .nav { position: relative; flex-wrap: wrap; border-radius: 28px; }
  .burger { display: grid; place-items: center; }
  .nav.open .menu { justify-content: flex-start; }
  .drop, .menu-item.open .drop, .drop.cols-3, .drop.cols-2, .drop.narrow {
    position: static; display: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px;
    transform: none; left: auto;
  }
  .menu-item.open .drop { display: block; }
  .projects { column-count: 1; }
  .models, .hub, .offers, .compare, .quotes, .why, .founder, .talks, .contact-layout, .footer-grid, .grid-cards, .case-layout {
    grid-template-columns: 1fr;
  }
  .profile, .facts { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
  .stats strong { font-size: 32px; }
  .hero { padding-top: 28px; }
}
.sched {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 20px;
}
.sched[hidden] { display: none; }
.sched-mask { position: absolute; inset: 0; background: hsl(220 15% 8% / 0.45); border: 0; }
.sched-card {
  position: relative;
  display: flex;
  width: min(820px, 100%);
  height: min(680px, calc(100vh - 40px));
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 60px hsl(220 20% 10% / 0.28);
  overflow: hidden;
}
.sched-card.has-times { width: min(1060px, 100%); }
.sched-x {
  position: absolute; top: 8px; right: 10px; z-index: 2;
  width: 28px; height: 28px; border: 0; border-radius: 999px; background: transparent;
  color: #6b7280; font-size: 22px; line-height: 1;
}
.sched-side {
  width: 300px; flex: 0 0 300px;
  padding: 28px 28px 20px;
  border-right: 1px solid #e6e9ef;
  display: flex; flex-direction: column;
}
.sched-avatar {
  width: 72px; height: 72px; border-radius: 999px;
  background: #0aa35a; object-fit: contain; padding: 16px;
}
.sched-host { margin: 16px 0 2px; color: #6b7280; font-size: 15px; }
.sched-side h2 {
  margin: 0 0 18px; font-size: 28px; font-weight: 750; letter-spacing: -0.03em;
  line-height: 1.15; color: #0b1f33;
}
.sched-meta { margin: 0 0 12px; color: #3d4b5c; font-size: 15px; }
.sched-ico { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.sched-when[hidden] { display: none; }
.sched-ico svg { flex: 0 0 auto; margin-top: 2px; color: #5d6b7c; }
.sched-side-foot { margin-top: auto; display: flex; gap: 18px; padding-top: 20px; }
.sched-side-foot button, .sched-side-foot a {
  background: none; border: 0; padding: 0; color: #0b5cff; font-size: 14px;
}
.sched-cookie { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.sched-main {
  flex: 1; min-width: 0; padding: 28px 22px 20px 28px;
  display: flex; flex-direction: column; overflow: hidden;
}
.sched-main h3 { margin: 0 0 18px; font-size: 22px; font-weight: 700; color: #0b1f33; }
.sched-pick { display: flex; gap: 18px; min-height: 0; flex: 1; }
.sched-cal { flex: 1; min-width: 300px; }
.month-bar { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 4px 0 14px; }
.month-bar strong { font-size: 15px; font-weight: 700; color: #1a1a1a; min-width: 7em; text-align: center; }
.month-bar button {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent;
  color: #0060e6; padding: 0;
}
.month-bar button:hover { background: #f0f5ff; }
.week, .days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.week span { color: #1a1a1a; font-size: 12px; font-weight: 500; padding: 6px 0 8px; }
.day, .day-empty { position: relative; width: 44px; height: 44px; margin: 3px auto; }
.day {
  border-radius: 999px; border: 0; background: transparent; color: #1a1a1a;
  font-weight: 400; font-size: 16px; font-family: inherit;
}
.day.off { opacity: 0.65; cursor: default; }
.day.on { background: #f0f5ff; color: #0060e6; font-weight: 700; }
.day.on:hover { background: #dce8ff; }
.day.picked, .day.picked:hover { background: #0069ff; color: #fff; font-weight: 700; }
.day.today::after {
  content: "";
  position: absolute; left: 50%; bottom: 5px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: currentColor;
}
.day.off.today::after { background: #1a1a1a; }
.day.picked.today::after { background: #fff; }
.tz-label { margin: 26px 0 6px; color: #1a1a1a; font-size: 15px; font-weight: 700; }
.tz-row { display: inline-flex; align-items: center; gap: 6px; color: #1a1a1a; position: relative; }
.tz-row svg { flex: 0 0 auto; color: #1a1a1a; }
.tz-row::after {
  content: ""; width: 0; height: 0; margin-left: 2px; pointer-events: none;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #1a1a1a;
}
.tz-row select {
  appearance: none; -webkit-appearance: none;
  height: 36px; border: 0; background: transparent; font-size: 15px; color: #1a1a1a;
  font-family: inherit; padding: 0; cursor: pointer;
}
.sched-times {
  width: 196px; flex: 0 0 196px;
  overflow: auto; padding: 2px 8px 8px 4px;
}
.sched-time-head { margin: 6px 0 12px; font-size: 16px; font-weight: 700; color: #1c2430; }
.slot, .sched-submit, .sched-ghost, .text-back {
  font-family: inherit;
}
.slot {
  display: block; width: 100%; height: 52px; margin: 0 0 10px;
  border-radius: 4px; border: 1px solid rgba(0, 105, 255, 0.5); background: #fff; color: #0060e6;
  font-weight: 700; font-size: 16px;
}
.slot:hover { border: 2px solid #0069ff; }
.slot.picked { background: #4b5563; color: #fff; border-color: #4b5563; }
.slot.next { background: #0b5cff; color: #fff; border-color: #0b5cff; }
.slot-row { display: flex; gap: 8px; margin-bottom: 8px; }
.slot-row .slot { flex: 1; width: auto; margin: 0; }
.sched-card.is-form {
  height: auto;
  max-height: none;
  width: min(920px, 100%);
}
.sched-card.is-form .sched-main { padding: 22px 28px 18px; overflow: visible; }
.sched-card.is-form .sched-side { padding-top: 22px; padding-bottom: 16px; }
.sched-card.is-form .sched-avatar { width: 56px; height: 56px; padding: 12px; }
.sched-card.is-form .sched-host { margin-top: 10px; }
.sched-card.is-form .sched-side h2 { margin-bottom: 12px; font-size: 24px; }
.sched-card.is-form .sched-meta { margin-bottom: 8px; }
.sched-card.is-form .sched-back { width: 40px; height: 40px; margin-bottom: 12px; }
.sched-form {
  display: flex; flex-direction: column;
  max-width: none; overflow: visible;
}
.sched-fields { overflow: visible; }
.sched-foot { margin-top: 4px; padding-top: 10px; background: #fff; }
.sched-form h3 { margin: 0 0 12px; }
.sched-form label, .sched-form input, .sched-form textarea { display: block; width: 100%; }
.sched-form label { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #1a1a1a; }
.sched-form .req { font-weight: 400; }
.sched-form input, .sched-form textarea {
  margin-top: 4px; border: 1px solid #b2b2b2; border-radius: 8px; padding: 0 12px;
  height: 40px; font-size: 15px; font-weight: 400; color: #1a1a1a; font-family: inherit; background: #fff;
}
.sched-form textarea { height: 88px; padding: 8px 12px; line-height: 1.45; resize: none; }
.sched-form input[name="name"] { max-width: 320px; }
.code-row { display: flex; gap: 8px; margin-top: 4px; align-items: center; }
.code-row input { margin-top: 0; flex: 1 1 280px; width: auto; max-width: 320px; min-width: 0; }
.code-row-short .code-input {
  flex: 0 0 132px; width: 132px; max-width: 132px; text-align: center; letter-spacing: 0.18em;
}
.code-btn {
  flex: 0 0 auto; height: 40px; padding: 0 18px; border-radius: 8px; border: 0;
  background: var(--green); color: #fff; font-weight: 650; font-size: 15px;
}
.code-btn-verify { flex: 0 0 auto; min-width: 88px; font-size: 16px; }
.code-btn:hover { background: var(--green-deep); }
.code-btn:disabled { background: #b7d7c4; color: #fff; }
.send-status, .code-hint, .char-count { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: #6b7280; line-height: 1.3; }
.send-status, .code-hint, .char-count.is-ok { color: var(--green-deep); }
.sched-submit:disabled { background: #b7d7c4; }
.sched-form input:focus, .sched-form textarea:focus { outline: none; border: 2px solid var(--green); }
.sched-terms { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #1a1a1a; }
.sched-terms a { color: var(--green-deep); font-weight: 700; }
.sched-foot .error { margin: 0 0 8px; }
.sched-submit {
  width: 100%; height: 44px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--green); color: #fff; font-weight: 650; font-size: 16px;
}
.sched-submit:hover { background: var(--green-deep); }
.sched-back {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 24px;
  border-radius: 999px; border: 1px solid #d4d9e0; background: #fff; color: #0060e6; padding: 0;
}
.sched-back[hidden], .sched-side-foot[hidden], .sched-zone[hidden] { display: none; }
.sched-back:hover { background: #f0f5ff; }
.sched-ghost {
  height: 46px; padding: 0 18px; border-radius: 8px; border: 1px solid #d5dbe3; background: #fff; font-weight: 700;
}
.sched-done { max-width: 460px; }
.done-mark {
  width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center;
  background: #e7f8ef; color: var(--green-deep); font-size: 24px; margin: 0;
}
.sched-done ul { padding: 0; list-style: none; }
.sched-done li { margin: 8px 0; }
.sched-done b { display: inline-block; width: 52px; }
@media (max-width: 800px) {
  .sched-card, .sched-card.has-times { flex-direction: column; width: min(520px, 100%); }
  .sched-side { width: auto; flex-basis: auto; border-right: 0; border-bottom: 1px solid #eceff3; }
  .sched-pick { flex-direction: column; }
  .sched-times { width: auto; flex-basis: auto; max-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  html { scroll-behavior: auto; }
}
