:root {
  --ink: #1b2430;
  --steel: #5b6b7c;
  --line: #d9dee4;
  --paper: #ffffff;
  --mist: #f3f5f7;
  --tape: #f5c518;
  --tape-deep: #d9a900;
  --sent: #1e7f4f;
  --bubble-in: #e9edf1;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --narrow: 680px;
  --radius-s: 6px;
  --radius-m: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; font-stretch: 105%; margin-bottom: 0.35rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: var(--narrow); margin-inline: 0; }
.wrap.narrow { width: min(var(--narrow), 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.35rem;
  text-decoration: none; line-height: 1;
}
.wordmark-name { font-weight: 900; font-stretch: 125%; font-size: 1.35rem; }
.wordmark-rest { font-weight: 500; font-stretch: 100%; font-size: 1rem; color: var(--steel); }

.nav { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav-cta {
  background: var(--tape); padding: 0.5rem 0.9rem; border-radius: var(--radius-s);
  font-weight: 700;
}
.nav-cta:hover { background: var(--tape-deep); text-decoration: none !important; }

@media (max-width: 860px) {
  .nav li:not(:last-child) { display: none; }
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--tape); color: var(--ink);
  font: inherit; font-weight: 700; font-stretch: 105%;
  padding: 0.85rem 1.4rem;
  border: 0; border-radius: var(--radius-s);
  text-decoration: none; cursor: pointer;
  box-shadow: inset 0 -3px 0 var(--tape-deep);
}
.button:hover { background: var(--tape-deep); }
.button:active { box-shadow: none; transform: translateY(1px); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.button-block { display: block; width: 100%; text-align: center; }
.button-quiet { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy h1 { max-width: 15ch; }
.lede { font-size: 1.2rem; color: var(--steel); max-width: 34rem; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.8rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.95rem; color: var(--steel); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Phone */
.phone-figure { margin: 0; justify-self: center; width: min(100%, 340px); }
.phone {
  background: var(--paper);
  border: 10px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(27, 36, 48, 0.45);
}
.phone-top {
  text-align: center; padding: 0.9rem 0 0.7rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 0.95rem;
}
.thread { padding: 1rem 0.9rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.93rem; line-height: 1.4; }
.stamp { text-align: center; font-size: 0.75rem; color: var(--steel); margin: 0 0 0.3rem; }
.bubble { max-width: 86%; padding: 0.6rem 0.8rem; border-radius: 16px; }
.bubble.in { background: var(--bubble-in); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--ink); color: var(--paper); align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.b1 { box-shadow: 0 0 0 2px var(--tape); }
.delivered { align-self: flex-start; font-size: 0.72rem; color: var(--sent); font-weight: 600; margin: -0.2rem 0 0.2rem 0.4rem; }
.phone-figure figcaption { margin-top: 1rem; font-size: 0.88rem; color: var(--steel); }

@media (prefers-reduced-motion: no-preference) {
  .b1, .d1, .b2, .b3 { opacity: 0; transform: translateY(8px); animation: arrive 0.45s ease-out forwards; }
  .b1 { animation-delay: 0.6s; }
  .d1 { animation-delay: 1.1s; }
  .b2 { animation-delay: 2.2s; }
  .b3 { animation-delay: 3.4s; }
}
@keyframes arrive { to { opacity: 1; transform: none; } }

/* Sections */
.band { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.band p { color: #c9d1da; font-size: 1.1rem; }
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--mist); }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before {
  content: counter(step);
  display: block; font-weight: 900; font-stretch: 125%; font-size: 2rem; line-height: 1; margin-bottom: 0.6rem;
}
.steps p { color: var(--steel); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.features { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.features div { border-left: 3px solid var(--tape); padding-left: 1rem; }
.features dt { font-weight: 700; font-stretch: 105%; font-size: 1.1rem; margin-bottom: 0.3rem; }
.features dd { margin: 0; color: var(--steel); }
.soon { display: inline-block; font-size: 0.75rem; font-weight: 600; font-stretch: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 0.05rem 0.5rem; margin-left: 0.3rem; vertical-align: 2px; color: var(--steel); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pricing-grid > div:first-child p { color: var(--steel); max-width: 30rem; }
.ticket {
  border: 2px solid var(--ink); border-radius: var(--radius-m);
  padding: 1.6rem 1.6rem 1.3rem;
  background: var(--paper);
}
.ticket-label { font-weight: 700; margin-bottom: 0.2rem; }
.price {
  display: flex; align-items: baseline; gap: 0.3rem;
  padding-bottom: 1.2rem; margin-bottom: 1.2rem;
  border-bottom: 2px dashed var(--line);
}
.price-amount { font-size: 2.8rem; font-weight: 900; font-stretch: 118%; line-height: 1; }
.price-unit { color: var(--steel); font-weight: 600; }
.price-regular { color: var(--steel); font-size: 0.95rem; }
.ticket-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.ticket-list li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; }
.ticket-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.75rem;
  width: 0.55rem; height: 0.3rem;
  border-left: 2px solid var(--sent); border-bottom: 2px solid var(--sent);
  transform: rotate(-45deg);
}
.fine { font-size: 0.85rem; color: var(--steel); margin-top: 0.8rem; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } .ticket { max-width: 420px; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); }
.about-grid p { color: var(--steel); }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-weight: 700; font-stretch: 105%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 500; color: var(--steel);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--steel); padding-bottom: 1.1rem; }

/* Contact */
.contact { background: var(--mist); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-grid > div p { color: var(--steel); max-width: 28rem; }
.contact-alt a { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.2rem, 3vw, 2rem); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.optional { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.7rem 0.8rem;
  border: 1px solid #b9c2cc; border-radius: var(--radius-s);
  background: var(--paper);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--tape); outline-offset: 0; border-color: var(--ink);
}
.field [aria-invalid="true"] { border-color: #b42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0.8rem 0 0; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--sent); }
.form-status.error { color: #b42318; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d1da; padding: 2.5rem 0; font-size: 0.95rem; }
.site-footer strong { color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.copy { align-self: flex-end; }

/* Simple pages */
.page { padding: clamp(3rem, 7vw, 5rem) 0; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.2rem; }
.page h2 { font-size: 1.3rem; margin-top: 2rem; }
.page p, .page li { color: var(--steel); }
