:root {
  --bg: #fafaf8;
  --soft: #f0f0ec;
  --ink: #0c0c0c;
  --mute: #7a7a74;
  --line: rgba(12, 12, 12, .14);
  --go: #19c26b;
  --pad: clamp(20px, 4vw, 64px);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Geist", system-ui, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2 { font-weight: 500; letter-spacing: -.035em; line-height: .98; }

/* ───────── the island ───────── */
#island {
  --w: 232px; --h: 44px; --r: 22px;
  position: fixed; z-index: 100; top: 14px; left: 50%;
  width: min(var(--w), calc(100vw - 24px)); height: var(--h); border-radius: var(--r);
  transform: translateX(-50%);
  background: #050505; color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 32px -8px rgba(0, 0, 0, .35);
  overflow: hidden;
  transition: width .7s var(--spring), height .7s var(--spring), border-radius .7s var(--spring);
  font-size: 14px;
}
#island[data-state="menu"] { --w: 300px; --h: 276px; --r: 32px; }
#island[data-state="call"] { --w: 380px; --h: 190px; --r: 30px; }
#island[data-state="done"] { --w: 300px; --h: 66px;  --r: 33px; }

.pane {
  position: absolute; inset: 0; display: flex; align-items: center; width: 100%; text-align: left;
  opacity: 0; filter: blur(8px); transform: scale(.94); pointer-events: none;
  transition: opacity .25s ease, filter .25s ease, transform .35s ease;
}
#island[data-state="idle"] .pane--idle,
#island[data-state="menu"] .pane--menu,
#island[data-state="call"] .pane--call,
#island[data-state="done"] .pane--done {
  opacity: 1; filter: none; transform: none; pointer-events: auto;
  transition: opacity .35s ease .18s, filter .35s ease .18s, transform .45s ease .18s;
}

.pane--idle { gap: 10px; padding: 0 16px 0 18px; }
.pane--idle b { font-weight: 600; letter-spacing: .06em; }
.sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .25); }
.where { color: rgba(255, 255, 255, .62); flex: 1; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 0 rgba(25, 194, 107, .6); animation: beat 2.4s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 7px rgba(25, 194, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 194, 107, 0); } }
.ring { width: 20px; height: 20px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 2.4; }
.ring-bg { stroke: rgba(255, 255, 255, .18); }
.ring-fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .2s linear; }

.pane--menu { flex-direction: column; justify-content: center; padding: 14px 22px; gap: 0; align-items: stretch; }
.pane--menu a { flex: none; display: flex; justify-content: space-between; padding: 11px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pane--menu a i { font-style: normal; color: rgba(255, 255, 255, .45); transition: transform .25s ease, color .25s ease; }
.pane--menu a:hover i { transform: translate(2px, 2px); color: var(--go); }
.menu-cta { flex: none; margin-top: 12px; height: 40px; border-radius: 19px; background: #fff; color: #000 !important; font-weight: 600; font-size: 14px; transition: background .2s; }
.menu-cta:hover { background: var(--go); }

.pane--done { gap: 14px; padding: 0 20px 0 14px; }
.live-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.live-text b { font-weight: 600; font-size: 15px; }
.live-text small { color: rgba(255, 255, 255, .6); font-size: 13px; font-family: "Geist Mono", monospace; }
.tick { width: 38px; height: 38px; border-radius: 50%; background: var(--go); color: #000; display: grid; place-items: center; font-weight: 700; flex: none; }

.pane--call { flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; padding: 18px 20px; }
.call-title { font-size: 16px; font-weight: 600; }
.slots { display: flex; gap: 8px; }
.slots label { flex: 1; }
.slots input { position: absolute; opacity: 0; pointer-events: none; }
.slots span { display: block; text-align: center; padding: 9px 0; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; transition: background .2s, color .2s; }
.slots input:checked + span { background: #fff; color: #000; font-weight: 600; }
.slots input:focus-visible + span { outline: 2px solid var(--go); }
.call-row { display: flex; gap: 8px; }
.call-row input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; font: inherit; }
.call-row input::placeholder { color: rgba(255, 255, 255, .45); }
.call-row input:focus { outline: none; border-color: var(--go); }
.call-row button { height: 40px; padding: 0 18px; border-radius: 20px; background: var(--go); color: #000; font-weight: 600; }

/* ───────── page ───────── */
main > section { padding-left: var(--pad); padding-right: var(--pad); }
h1, h2 { font-weight: 500; letter-spacing: -.03em; line-height: 1.02; }
.btn { height: 46px; padding: 0 26px; border-radius: 23px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; transition: background .25s, transform .25s; }
.btn:hover { background: #1e7d4d; transform: translateY(-1px); }
.link { color: var(--mute); font-size: 15px; transition: color .2s; }
.link:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; min-height: 100svh; padding-top: 110px; padding-bottom: 50px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 68px); max-width: 9em; }
.hero-copy p { margin-top: 22px; max-width: 28em; font-size: 17px; color: #45453f; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.hero-pic { aspect-ratio: 4 / 5; max-height: 74vh; justify-self: end; width: 100%; border-radius: 22px; overflow: hidden; background: var(--soft); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

.services { padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(50px, 7vw, 90px); }
.services > h2, .steps > h2 { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 28px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 16px; margin-bottom: 16px; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tile { overflow: hidden; }
.tile:hover img { transform: scale(1.03); }
.tile h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.tile p { margin-top: 6px; color: var(--mute); font-size: 15px; max-width: 26em; }

.proof { background: var(--soft); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.proof-pic { aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; max-height: 460px; }
.proof-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-body h2 { font-size: clamp(22px, 2.4vw, 32px); }
.nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(24px, 4vw, 60px); margin-top: 30px; }
.nums strong { display: block; font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.nums div:first-child strong { color: #12924f; }
.nums div > span { font-size: 14px; color: var(--mute); }
.proof-body svg { display: block; width: 100%; height: 80px; margin-top: 34px; overflow: visible; }
.proof-body polyline { fill: none; stroke: var(--go); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s cubic-bezier(.5, 0, .2, 1); }
.proof.in polyline { stroke-dashoffset: 0; }

.steps { padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(50px, 7vw, 90px); }
.steps ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: "0" counter(s); display: block; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--mute); margin-bottom: 22px; }
.steps b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.steps li p { color: var(--mute); font-size: 15px; max-width: 18em; }

.close { background: #050505; color: #fff; padding-top: clamp(60px, 9vw, 120px); padding-bottom: clamp(60px, 9vw, 120px); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.close h2 { font-size: clamp(34px, 4.6vw, 64px); }
.close-links { display: flex; flex-direction: column; gap: 6px; font-size: 18px; color: rgba(255, 255, 255, .7); }
.mail { font-size: clamp(20px, 2.2vw, 30px); color: #fff; letter-spacing: -.02em; border-bottom: 2px solid var(--go); padding-bottom: 2px; align-self: flex-start; transition: color .25s; }
.mail:hover, .close-links a:hover { color: var(--go); }

.foot { display: flex; justify-content: space-between; padding: 20px var(--pad); background: #050505; color: rgba(255, 255, 255, .45); font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* reveal */
.js .tile, .js .steps li, .js .hero-copy, .js .hero-pic, .js .proof-pic, .js .proof-body { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.js .tile.in, .js .steps li.in, .js .hero-copy.in, .js .hero-pic.in, .js .proof-pic.in, .js .proof-body.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 100px; }
  .hero-pic { max-height: none; aspect-ratio: 4 / 3; justify-self: stretch; }
  .tiles { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .nums { grid-template-columns: repeat(3, auto); gap: 18px; }
  #island[data-state="call"] { --h: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ───────── subpages ───────── */
.page { padding-top: 96px; }
.ph { padding: clamp(30px, 5vw, 70px) var(--pad) 30px; }
.ph h1 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.ph p { margin-top: 12px; max-width: 30em; color: #45453f; font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }

.svc-rows { padding: 0 var(--pad) clamp(50px, 7vw, 90px); }
.svc { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.svc:nth-child(even) img { order: 2; }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.svc h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.svc p { color: #45453f; max-width: 30em; }
.svc ul { margin-top: 16px; list-style: none; font-size: 15px; }
.svc li { padding: 8px 0; border-top: 1px solid var(--line); }

.plans { background: var(--soft); padding: clamp(50px, 7vw, 90px) var(--pad); }
.plans h2, .faq h2, .posts--more h2 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 26px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-grid article { background: var(--bg); border-radius: 18px; padding: 28px 26px 26px; display: flex; flex-direction: column; border: 1px solid transparent; }
.plan-grid article.pop { background: #050505; color: #fff; }
.plan-grid h3 { font-size: 20px; font-weight: 500; }
.plan-grid .pr { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.03em; margin: 12px 0 18px; }
.plan-grid .pr small { font-size: 14px; color: var(--mute); font-weight: 400; letter-spacing: 0; }
.plan-grid ul { list-style: none; flex: 1; margin-bottom: 24px; font-size: 15px; }
.plan-grid li { padding: 8px 0; border-top: 1px solid var(--line); }
.pop li { border-color: rgba(255, 255, 255, .18); }
.pop .btn { background: var(--go); color: #000; }
.pop .btn:hover { background: #fff; }
.plan-note { margin-top: 18px; color: var(--mute); font-size: 14px; }

.faq { padding: clamp(50px, 7vw, 90px) var(--pad); display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { padding: 0 0 18px; color: #45453f; max-width: 34em; }

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 var(--pad) clamp(50px, 7vw, 90px); }
.case { display: block; background: var(--soft); border-radius: 20px; overflow: hidden; transition: transform .35s; }
.case:hover { transform: translateY(-3px); }
.case img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.case > div { padding: 20px 24px 24px; }
.case h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.case p { color: var(--mute); font-size: 15px; }
.cn { display: flex; gap: 30px; margin-top: 18px; }
.cn span { font-size: 13px; color: var(--mute); }
.cn b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.cd-hero { padding: 0 var(--pad); }
.cd-hero img { width: 100%; max-height: 520px; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; display: block; }
.cd-nums { display: flex; gap: clamp(30px, 6vw, 90px); padding: 36px var(--pad); }
.cd-nums strong { display: block; font-size: clamp(34px, 4.4vw, 62px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cd-nums div:first-child strong { color: #12924f; }
.cd-nums span { color: var(--mute); font-size: 14px; }
.cd-text { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 10px var(--pad) 60px; }
.cd-text h2 { font-size: 15px; font-weight: 500; color: var(--mute); margin-bottom: 8px; }
.cd-text p { max-width: 24em; }
.cd-next { padding: 26px var(--pad) 70px; border-top: 1px solid var(--line); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.02em; }
.cd-next a:hover { color: #12924f; }

.posts, .posts-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 16px; padding: 0 var(--pad) clamp(50px, 7vw, 90px); }
.posts--more { display: block; padding: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.posts--more h2 { padding: 40px var(--pad) 0; }
.post { display: block; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; margin-bottom: 14px; transition: transform .6s; }
.post:hover img { transform: scale(1.02); }
.post h2 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 4px; }
.post p { color: var(--mute); font-size: 14px; }
.art { max-width: 720px; margin: 0 auto; padding: clamp(30px, 5vw, 60px) var(--pad) 40px; }
.art .meta { color: var(--mute); font-size: 14px; }
.art h1 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; margin: 8px 0 26px; }
.art figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; display: block; margin-bottom: 26px; }
.art > p { font-size: 18px; line-height: 1.65; margin-bottom: 18px; color: #2b2b27; }
.art-cta { margin-top: 36px; padding: 26px; background: var(--soft); border-radius: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.art-cta p { font-weight: 500; }

.ct { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); padding: clamp(30px, 5vw, 70px) var(--pad) clamp(60px, 8vw, 110px); }
.ct h1 { font-size: clamp(34px, 4.2vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.ct .lead { margin: 16px 0 28px; max-width: 26em; color: #45453f; font-size: 17px; }
.ct dl { display: grid; grid-template-columns: 6em 1fr; gap: 8px 14px; font-size: 15px; }
.ct dt { color: var(--mute); }
.ct a:hover { color: #12924f; }
#cf { display: grid; gap: 20px; align-content: start; }
#cf label { font-size: 14px; color: var(--mute); }
#cf input, #cf select { display: block; width: 100%; margin-top: 6px; padding: 12px 0; font: 400 17px "Geist", sans-serif; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(12, 12, 12, .35); border-radius: 0; }
#cf input:focus, #cf select:focus { outline: none; border-color: var(--ink); }
#cf .btn { justify-self: start; }
.ok { color: #12924f; font-weight: 500; }
.foot a:hover { color: #fff; }

@media (max-width: 820px) {
  .svc, .faq, .ct, .cd-text { grid-template-columns: 1fr; }
  .svc:nth-child(even) img { order: 0; }
  .plan-grid, .cases, .posts, .posts-in { grid-template-columns: 1fr; }
  .cd-nums { flex-wrap: wrap; gap: 24px; }
  .foot { flex-direction: column; gap: 6px; }
}
