:root {
  --bg: #FBF3EA;
  --bg-alt: #F3E6D6;
  --ink: #241A12;
  --ink-soft: #6B5C4D;
  --gold: #B4883C;
  --gold-deep: #8C6A2E;
  --card: #FFFFFF;
  --border: #E7D8C4;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.sans, .sans {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

a { color: inherit; text-decoration: none; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 234, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand .dot { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

/* Buttons */
.btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(36, 26, 18, 0.25);
}

.btn-primary:hover { box-shadow: 0 12px 28px rgba(36, 26, 18, 0.32); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.btn-gold {
  background: linear-gradient(135deg, #C9A15C, var(--gold-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(140, 106, 46, 0.35);
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 18px;
  display: inline-block;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 700;
}

.hero p.sub {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--ink-soft);
}

.stars { color: var(--gold); letter-spacing: 2px; }

/* Phone mockup */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.phone-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 136, 60, 0.22), transparent 70%);
  filter: blur(10px);
}

.phone {
  position: relative;
  width: 280px;
  height: 572px;
  background: #17110A;
  border-radius: 46px;
  padding: 14px;
  box-shadow:
    0 40px 80px -20px rgba(36, 26, 18, 0.45),
    0 0 0 2px rgba(180, 136, 60, 0.25);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #17110A;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-float-card {
  position: absolute;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 16px 32px rgba(36, 26, 18, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
}

.phone-float-card.top { top: 40px; left: -70px; }
.phone-float-card.bottom { bottom: 60px; right: -80px; }

.float-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

/* Sections */
section { padding: 90px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: 38px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  font-weight: 700;
}

.section-head p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

/* Feature cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F1DDB8, #E4C48C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.card h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 700;
}

.card p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step-num {
  font-family: "Georgia", serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 8px;
  display: block;
}

.step h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
  margin: 0 0 10px;
}

.step p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* Split (for barbers / for customers) */
.split {
  background: var(--bg-alt);
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-inner.reverse .split-media { order: 2; }

.split-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 14px;
  display: block;
}

.split-text h2 {
  font-size: 32px;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.split-text > p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 26px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}

.check-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

.split-media {
  display: flex;
  justify-content: center;
}

.split-icon {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F1DDB8, #E4C48C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  box-shadow: 0 30px 60px rgba(36, 26, 18, 0.18);
}

/* Final CTA */
.cta-band {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(180, 136, 60, 0.25), transparent 60%);
}

.cta-band h2 {
  font-size: 36px;
  margin: 0 0 14px;
  position: relative;
}

.cta-band p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #D9CBBB;
  font-size: 16px;
  margin: 0 0 32px;
  position: relative;
}

.cta-band .btn { position: relative; }

/* Footer */
footer {
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
  margin-top: 12px;
}

.footer-col h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14.5px;
  color: var(--ink);
}

.footer-col a:hover { color: var(--gold-deep); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 12px;
}

/* Legal pages */
.legal-header {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--border);
}

.legal-header .eyebrow { margin-bottom: 10px; }

.legal-header h1 {
  font-size: 40px;
  margin: 0 0 10px;
}

.legal-header .updated {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-soft);
  font-size: 14px;
}

.legal-body {
  padding: 48px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 24px;
  margin: 40px 0 14px;
  font-weight: 700;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal-body strong { color: var(--ink); }

.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }

.legal-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.legal-nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
}

.legal-nav a.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.contact-box {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-box p { margin: 0; color: var(--ink); }
.contact-box a { color: var(--gold-deep); font-weight: 600; }

/* Responsive */

/* Large desktop / ultra-wide: content stays capped at --max via .wrap, nothing extra needed */

/* Small laptop / large tablet */
@media (max-width: 1080px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 46px; }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .phone-stage { min-height: 420px; }
  .phone { width: 220px; height: 450px; }
  .hero h1 { font-size: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .split-inner, .split-inner.reverse { grid-template-columns: 1fr; }
  .split-inner.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}

/* Large phone / small tablet */
@media (max-width: 680px) {
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .split-icon { width: 180px; height: 180px; font-size: 72px; }
}

/* Phone */
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 24px; }
  .hero h1 { font-size: 32px; }
  .hero p.sub { font-size: 16px; }
  section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .cta-band { margin: 0 16px; padding: 48px 24px; }
  .cta-band h2 { font-size: 28px; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }
  .legal-header h1 { font-size: 30px; }
}

/* Small phone */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .hero h1 { font-size: 27px; }
  .phone { width: 180px; height: 368px; }
  .phone-stage { min-height: 340px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .brand { font-size: 19px; }
  .card { padding: 24px 20px; }
  .cta-band { padding: 40px 18px; }
  .cta-band h2 { font-size: 24px; }
}
