/* MSK Labs: shared styles. Design system ported from design/look-preview.html */
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/Switzer-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #111315;
  --ink-2: #55595E;
  --line: #E3E4E6;
  --paper: #FFFFFF;
  --paper-2: #F5F5F3;
  --brand: #0B6E45;
  --brand-press: #095937;
  --tint: #E7F2EC;
  --font: "Switzer", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 9px; font-weight: 600; }
.skip:focus-visible { top: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 32px; }

/* Header */
.nav { border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: #fff; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1; white-space: nowrap; }
.lockup .wm { font-size: 21px; letter-spacing: -0.02em; }
.lockup .wm b { font-weight: 700; }
.lockup .wm span { font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 1; padding: 15px 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--brand-press); }
.btn-sm { padding: 11px 16px; font-size: 15px; border-radius: 9px; }

/* Hero */
.hero { padding: 76px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
h1 { font-weight: 600; letter-spacing: -0.028em; text-wrap: balance; }
.hero h1 { font-size: clamp(2.2rem, 6.1vw, 4.1rem); line-height: 1.04; margin-bottom: 22px; }
.hero .sub { font-size: clamp(1.05rem, 1.9vw, 1.3rem); line-height: 1.5; color: var(--ink-2); margin-bottom: 30px; max-width: 34em; }
.price-line { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.price-line b { color: var(--ink); font-weight: 600; }

/* Phone */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border: 1px solid #CFD1D4; border-radius: 40px; padding: 10px; background: #fff; box-shadow: 0 1px 2px rgba(17,19,21,.05), 0 18px 40px -18px rgba(17,19,21,.22); }
.screen { border-radius: 31px; background: var(--paper-2); min-height: 500px; padding-bottom: 16px; overflow: hidden; }
.statusbar { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-size: 13px; font-weight: 600; background: #fff; }
.contact { text-align: center; padding: 6px 12px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.contact .who { font-size: 14px; font-weight: 600; }
.contact .kind { font-size: 11.5px; color: var(--ink-2); }
.thread { padding: 14px 12px 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.38; }
.chip { align-self: center; font-size: 11.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 17px; }
.msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.msg small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-2); }
.replay { display: block; margin: 12px auto 0; background: none; border: 0; font-family: var(--font); font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 8px; }
.replay[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .thread.play > * { opacity: 0; animation: msg-in .32s ease forwards; }
  .thread.play > :nth-child(1) { animation-delay: .3s; }
  .thread.play > :nth-child(2) { animation-delay: 1.1s; }
  .thread.play > :nth-child(3) { animation-delay: 2.5s; }
  .thread.play > :nth-child(4) { animation-delay: 3.9s; }
  .thread.play > :nth-child(5) { animation-delay: 5.1s; }
  .thread.play > :nth-child(6) { animation-delay: 6.3s; }
  @keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Sections */
.band { border-top: 1px solid var(--line); padding: 80px 0; }
.band.alt { background: var(--paper-2); }
.band h2 { font-size: clamp(1.75rem, 3.7vw, 2.6rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.028em; text-wrap: balance; }
.band .lede { color: var(--ink-2); margin-top: 14px; max-width: 32em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two.mid { align-items: center; }

.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.rules li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--brand); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0; font-size: 15px; color: var(--ink-2); }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot a { display: block; padding: 3px 0; }
.foot a:hover { color: var(--ink); }
.foot a.lockup { display: inline-flex; padding: 0; }
.foot .legal { margin-top: 14px; font-size: 14px; line-height: 1.5; }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav .wrap { height: 62px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .two { grid-template-columns: 1fr; gap: 36px; }
  .hero .btn { width: 100%; }
  .band { padding: 56px 0; }
  .foot .wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* Screen-reader-only label for who sent each bubble */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* For / not for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.fit > div { border-radius: 16px; padding: 30px; }
.fit .yes { background: var(--tint); }
.fit .no { background: #fff; border: 1px solid var(--line); }
.fit h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 14px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { padding: 13px 0 13px 32px; position: relative; border-top: 1px solid rgba(17,19,21,.09); }
.fit li::before { position: absolute; left: 0; top: 13px; font-weight: 700; }
.fit .yes li::before { content: "✓"; color: var(--brand); }
.fit .no li::before { content: "–"; color: #8B8F94; }
.fit .no li { color: var(--ink-2); }
.fit-note { margin-top: 26px; color: var(--ink-2); }

/* Pricing */
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.plan .amount { font-size: 3.2rem; line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.plan .amount span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.plan .rules { margin: 22px 0 26px; }
.plan .rules li { padding: 12px 0; }
.plan .btn { width: 100%; }

/* About */
.photo { width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 4 / 5; border: 1px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--tint); }
.photo img { width: 116%; max-width: none; margin-left: -8%; height: 116%; object-fit: cover; object-position: center top; display: block; }
.about p { color: var(--ink-2); margin-top: 16px; max-width: 30em; }
.about p.first { color: var(--ink); font-size: 1.15rem; font-weight: 500; }
.about .btn { margin-top: 28px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--ink-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 36px 20px 0; }

/* Booking page */
.book { padding: 64px 0 80px; }
.book h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.06; }
.book .lede { color: var(--ink-2); margin: 14px 0 0; }
.book .two { margin-top: 40px; grid-template-columns: 1fr 1.25fr; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 16px 0 16px 44px; position: relative; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 11px; font-size: 26px; font-weight: 600; color: var(--brand); }
.notice { margin-top: 26px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.notice b { color: var(--ink); }
.notice a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.cal { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.cal-placeholder { padding: 48px 24px; text-align: center; color: var(--ink-2); background: var(--paper-2); border: 1px dashed #C9CBCE; border-radius: 16px; }

/* Legal pages */
.legal-page { padding: 64px 0 80px; }
.legal-page .col { max-width: 720px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.06; }
.legal-page .eff { color: var(--ink-2); margin-top: 10px; }
.legal-page h2 { font-size: 1.35rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; margin-top: 40px; }
.legal-page p, .legal-page ul { margin-top: 14px; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin-top: 8px; }
.legal-page a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) {
  .fit { grid-template-columns: 1fr; gap: 16px; }
  .fit > div { padding: 24px; }
  .about .btn { width: 100%; }
  .book .two { grid-template-columns: 1fr; gap: 36px; }
  .book, .legal-page { padding: 40px 0 56px; }
}
a[href^="tel:"] { white-space: nowrap; }
