:root {
  color-scheme: dark;

  --bg: #17110d;
  --card: #211813;
  --bubble: #2e231c;
  --text: #f3e9dc;
  --soft: #b39f8a;
  --line: #33261e;
  --amber: #f2a93b;
  --amber-hi: #f7bc5e;
  --on-amber: #1c130c;

  --font: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
a { color: var(--amber); }
a:hover { color: var(--amber-hi); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--amber);
  color: var(--on-amber);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { left: 8px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a {
  color: var(--soft);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
}
.top nav a:hover { color: var(--text); }
.top nav .nav-cta {
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
}
.top nav .nav-cta:hover { background: var(--amber-hi); color: var(--on-amber); }
@media (max-width: 640px) {
  .top nav a:not(.nav-cta) { display: none; }
}

/* Chat bubbles, shared by the greeting and the example chat */
.who { font-size: 0.85rem; color: var(--soft); margin: 6px 4px 6px; }
.who-me { text-align: right; }
.bubble {
  max-width: 86%;
  padding: 13px 18px;
  border-radius: 20px;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.bubble-them { background: var(--bubble); border-bottom-left-radius: 6px; }
.bubble-me {
  background: var(--amber);
  color: var(--on-amber);
  border-bottom-right-radius: 6px;
  margin-left: auto;
}
.bubble-me a { color: var(--on-amber); font-weight: 700; }

/* Personal greeting */
.hello { margin-top: 12px; }
.hello .who { text-align: right; }
.hello-bubble { max-width: 640px; padding: 20px 24px; }
.hello-bubble h2 { font-size: 1.35rem; font-weight: 900; line-height: 1.2; }
.hello-bubble p { margin-top: 8px; }
.hello-bubble ul { margin: 6px 0 0; padding-left: 1.2em; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr auto 0.62fr;
  gap: 44px;
  align-items: center;
  padding-top: clamp(24px, 5vw, 56px);
}
.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.lede { margin-top: 20px; color: var(--soft); font-size: 1.1875rem; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.about-me {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 18px 20px;
  background: var(--card);
  border-radius: 20px;
  max-width: 34em;
}
.about-me .avatar {
  flex: none;
  width: 96px;
  height: auto;
  border-radius: 12px;
  background: var(--bubble);
}
.about-me p { font-size: 1rem; color: var(--soft); }
.about-me .about-name { color: var(--text); font-weight: 700; margin-bottom: 4px; }

.btn {
  display: inline-block;
  font: 700 1.0625rem/1 var(--font);
  padding: 17px 24px;
  border-radius: 14px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn-main { background: var(--amber); color: var(--on-amber); }
.btn-main:hover { background: var(--amber-hi); color: var(--on-amber); }
.btn-soft { background: var(--card); color: var(--text); }
.btn-soft:hover { background: var(--bubble); color: var(--text); }

/* Phone with the before/after slider inside */
.phone-wrap { margin: 0; }
.phone {
  width: 320px;
  height: 650px;
  border-radius: 46px;
  background: #0f0b08;
  padding: 12px;
  box-shadow: inset 0 0 0 2px #3a2d24, 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  user-select: none;
}
.after, .before { position: absolute; inset: 0; }

.after {
  background: #fbf8f3;
  color: #2a211b;
  padding: 44px 18px 18px;
  font-size: 13px;
  line-height: 1.45;
}
.a-nav { display: flex; justify-content: space-between; font-weight: 700; }
.a-nav b { font-weight: 900; }
.a-photo {
  margin-top: 16px;
  height: 190px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 40%, #e9b872 0 14%, transparent 15%),
    radial-gradient(circle at 62% 58%, #d99a4e 0 18%, transparent 19%),
    radial-gradient(circle at 42% 74%, #c98a44 0 10%, transparent 11%),
    linear-gradient(160deg, #f1dcc0, #e3c39a);
}
.after strong { display: block; margin: 16px 0 6px; font-size: 25px; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
.after p { color: #6b5c50; }
.after .a-open { margin-top: 10px; color: #3f7a4b; font-weight: 700; }
.a-call {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: #b5552b;
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 14px;
  font-weight: 700;
}

/* The old site is a desktop page shrunk onto a phone, which is what happens in real life */
.before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background: #fffbd6;
  overflow: hidden;
}
.desk {
  width: 1000px;
  transform: scale(0.296);
  transform-origin: 0 0;
  padding: 150px 24px 24px;
  font: 18px/1.4 "Times New Roman", Times, serif;
  color: #000;
}
.d-title { text-align: center; font: italic 700 40px/1.2 "Comic Sans MS", serif; color: #b0126f; }
.d-marquee { margin: 18px 0; background: #0000c8; color: #ff0; font: 700 22px/1.6 Arial, sans-serif; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.d-body { display: flex; gap: 24px; }
.d-side { display: flex; flex-direction: column; gap: 12px; font-size: 22px; color: #0000ee; background: #d9f2d0; border: 3px ridge #7aa56a; padding: 16px; flex: none; }
.d-main { font-size: 22px; }
.d-main p + p { margin-top: 14px; font-size: 17px; color: #777; }
.d-img { float: right; width: 340px; height: 200px; margin: 0 0 14px 14px; border: 4px outset #aaa; background: #ccc; color: #666; display: grid; place-items: center; font: 20px Arial; }

.handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--amber);
  pointer-events: none;
}
.handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.handle span::before,
.handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -5px;
  border: 5px solid transparent;
}
.handle span::before { left: 5px; border-right-color: var(--on-amber); }
.handle span::after { right: 5px; border-left-color: var(--on-amber); }
.slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.stage:has(.slider:focus-visible) .handle span { outline: 3px solid var(--text); outline-offset: 3px; }

.phone-wrap figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 14px;
  font-size: 0.9rem;
  color: var(--soft);
}
.phone-wrap figcaption span { color: var(--text); font-weight: 700; }

.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 20px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { display: block; font-size: 2.2rem; font-weight: 900; letter-spacing: -0.02em; color: var(--amber); line-height: 1.1; }
.facts span { color: var(--soft); font-size: 1rem; }

@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr auto; }
  .facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
  .facts li:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .phone-wrap { justify-self: center; }
  .facts { grid-template-columns: 1fr; }
  .facts li:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 360px) {
  .phone { width: 290px; height: 590px; }
  .desk { transform: scale(0.266); }
}

/* Sections */
.part { margin-top: clamp(88px, 12vw, 150px); }
.part h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  max-width: 18em;
}
.section-lede { margin-top: 14px; color: var(--soft); max-width: 34em; }

.chat-part {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px clamp(40px, 6vw, 88px);
  align-items: center;
}
.example-note { margin-top: 18px; font-size: 0.9rem; font-style: italic; color: var(--soft); }
.chat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat .bubble-them { align-self: flex-start; }
@media (max-width: 860px) { .chat-part { grid-template-columns: 1fr; } }

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.services article { background: var(--card); border-radius: 22px; padding: 28px; }
.services h3 { font-size: 1.3rem; font-weight: 900; }
.services p { margin-top: 10px; color: var(--soft); }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }

.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bubble);
  color: var(--amber);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.2rem; font-weight: 900; }
.steps p { margin-top: 8px; color: var(--soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  align-items: start;
}
.plan { background: var(--card); border-radius: 22px; padding: 26px; }
.plan h3 { font-size: 1.15rem; font-weight: 900; }
.plan .amount { margin: 10px 0 14px; font-size: 2.4rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.plan .amount small { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--soft); }
.plan p { color: var(--soft); font-size: 1rem; }
.plan-main { background: var(--amber); }
.plan-main h3, .plan-main .amount, .plan-main p, .plan-main .amount small { color: var(--on-amber); }
.plan .monthly { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(28, 19, 12, 0.2); }
.incl { margin-top: 18px; border-top: 1px solid var(--line); }
.plan-main .incl { border-color: rgba(28, 19, 12, 0.2); }
.incl summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 30px 0 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--amber);
  position: relative;
}
.plan-main .incl summary { color: var(--on-amber); }
.incl summary::-webkit-details-marker { display: none; }
.incl summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--bubble);
  font-size: 1.1rem;
}
.plan-main .incl summary::after { background: rgba(28, 19, 12, 0.12); }
.incl[open] summary::after { content: "−"; }
.incl ul { list-style: none; padding: 0; margin: 10px 0 0; }
.incl li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--soft);
}
.plan-main .incl li { color: var(--on-amber); }
.incl li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}
.plan-main .incl li::before { border-color: var(--on-amber); }
.plan .incl-group { margin-top: 16px; font-size: 0.85rem; font-weight: 700; color: var(--text); }
.plan-main .incl-group { color: var(--on-amber); }
.incl .incl-group:first-of-type { margin-top: 12px; }
@media (max-width: 1000px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } }

.faq { margin-top: 32px; max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-weight: 700;
  font-size: 1.15rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--card);
  color: var(--amber);
  font-size: 1.3rem;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--soft); max-width: 38em; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px clamp(40px, 6vw, 88px);
  align-items: start;
}
.direct { list-style: none; padding: 0; margin: 30px 0 0; }
.direct li { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.direct span { width: 90px; flex: none; color: var(--soft); }
.direct a { font-weight: 700; overflow-wrap: anywhere; }

.form {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 24px;
  padding: clamp(22px, 3.5vw, 32px);
}
.form label { font-weight: 700; margin-top: 18px; }
.form label:first-child { margin-top: 0; }
.form label small { font-weight: 400; color: var(--soft); }
.form input,
.form textarea {
  margin-top: 6px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}
.form input::placeholder { color: #7d6d5e; }
.form input:focus-visible,
.form textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--amber); }
.form [aria-invalid="true"] { border-color: #f08a7a; }
.form textarea { resize: vertical; }
.form .btn { margin-top: 24px; align-self: flex-start; }
.form-error { margin-top: 14px; color: #f5a898; font-weight: 700; }
.form-note { margin-top: 10px; font-size: 0.9rem; color: var(--soft); }
.form .btn:disabled { opacity: 0.6; cursor: wait; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done h3 { font-size: 1.5rem; font-weight: 900; }
.form-done p { margin-top: 8px; color: var(--soft); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(88px, 12vw, 150px);
  padding-top: 26px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--soft);
}

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .lede { font-size: 1.0625rem; }
}
