:root {
  --white:   #ffffff;
  --ink:     #0c1222;
  --ink-soft:#4a5163;
  --line:    #e6e9ef;
  --wine:    #670117;
  --signal:  #cf110c;
  --blush:   #fdeced;
  --sky:     #eaf0fb;
  --sand:    #fbf3e4;

  --r-panel: 36px;
  --r-media: 24px;
  --r-chip:  16px;
  --r-btn:   999px;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-btn);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-ink   { background: var(--ink); color: var(--white); min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-ink:hover { background: var(--wine); }
.btn-wine  { background: var(--wine); color: var(--white); }
.btn-wine:hover { background: var(--signal); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-white { background: var(--white); color: var(--wine); }
.btn-white:hover { background: var(--blush); }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.top-brand img { height: 30px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 24px; }
.top-nav > a:not(.btn) {
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
}
.top-nav > a:not(.btn):hover { color: var(--ink); }

/* Image slots: tinted placeholder until the real image exists */
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-media);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(207, 17, 12, .18), transparent 60%),
    radial-gradient(100% 80% at 90% 90%, rgba(103, 1, 23, .28), transparent 60%),
    var(--blush);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.lead {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-stage { position: relative; padding: 24px 0 40px; }
.shot-hero { aspect-ratio: 4 / 5; border-radius: var(--r-panel); background-color: var(--wine); }
.shot-hero::after {
  /* keeps the chips legible on any photo */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 18, 34, .35));
  pointer-events: none;
}

.pings { list-style: none; padding: 0; }
.ping {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--white);
  border-radius: var(--r-chip);
  box-shadow: 0 18px 40px -12px rgba(12, 18, 34, .28), 0 2px 6px rgba(12, 18, 34, .06);
  line-height: 1.25;
  animation: ping-in .6s cubic-bezier(.2, .9, .3, 1.2) both;
}
.ping strong { display: block; font-size: 15px; font-weight: 680; }
.ping small  { display: block; font-size: 13px; color: var(--ink-soft); }
.ping-1 { top: 8%;  left: -36px; animation-delay: .5s; }
.ping-2 { top: 46%; right: -28px; animation-delay: 1.3s; }
.ping-3 { bottom: 4%; left: 8%;  animation-delay: 2.1s; }

.ping-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
}
.ping-icon-ok    { background: #e3f6ea; }
.ping-icon-ok::before {
  content: "";
  width: 14px; height: 8px;
  border: solid #16803c;
  border-width: 0 0 3px 3px;
  transform: translate(0, -2px) rotate(-45deg);
}
.ping-icon-table { background: var(--blush); color: var(--wine); }
.ping-icon-up    { background: var(--sky); }
.ping-icon-up::before {
  content: "";
  border: 8px solid transparent;
  border-bottom: 11px solid #2552b8;
  transform: translateY(-5px);
}

@keyframes ping-in {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ping { animation: none; }
}

/* Why */
.why { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
}
.why h2,
.team h2,
.feature h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.why-text { display: grid; gap: 20px; max-width: 36em; color: var(--ink-soft); }

/* Flow: the evening as a real sequence, pinned to when each step happens */
.flow { padding: clamp(56px, 8vw, 104px) 0; background: var(--blush); }
.flow-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}
.flow-track {
  list-style: none;
  padding: 0;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr 1fr;
  border-top: 2px solid var(--wine);
}
.flow-track li { position: relative; min-width: 0; padding: 22px 20px 0 0; }
.flow-track li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blush);
  box-shadow: inset 0 0 0 3px var(--wine);
}
.flow-when { font-size: 14px; font-weight: 650; color: var(--wine); font-variant-numeric: tabular-nums; }
.flow h3 { margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.flow-track p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.flow-track .flow-peak::before {
  top: -12px;
  width: 22px;
  height: 22px;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(207, 17, 12, .18);
}
.flow-peak .flow-when { color: var(--signal); }
.flow-peak h3 { font-size: 26px; }
.flow-scale { display: flex; justify-content: space-between; margin-top: 36px; font-size: 13px; color: var(--ink-soft); }

/* Features */
.features { padding: clamp(64px, 9vw, 120px) 0 0; }
.features .wrap { display: grid; gap: clamp(20px, 3vw, 32px); }
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-panel);
}
.feature-blush { background: var(--blush); }
.feature-sky   { background: var(--sky); }
.feature-sand  { background: var(--sand); }
.feature-flip .feature-copy { order: 2; }

.feature-copy p { margin-top: 18px; max-width: 32em; color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 10px; font-weight: 560; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 12px;
  height: 7px;
  border: solid var(--wine);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}

.shot-feature {
  aspect-ratio: 4 / 3;
  background-color: var(--white);
  box-shadow: 0 30px 60px -30px rgba(12, 18, 34, .35);
}
.feature-sky .shot-feature {
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(37, 82, 184, .18), transparent 60%),
    var(--white);
}
.shot-phone { aspect-ratio: 1 / 1; }

/* Team */
.team { padding: clamp(64px, 9vw, 120px) 0; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.shot-team { aspect-ratio: 5 / 4; border-radius: var(--r-panel); }
.team-copy p { margin-top: 18px; max-width: 32em; color: var(--ink-soft); }
.team-copy .team-sign { margin-top: 28px; color: var(--ink); font-weight: 650; }

/* CTA */
.cta { padding-bottom: clamp(48px, 7vw, 96px); }
.cta-box {
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-radius: var(--r-panel);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(207, 17, 12, .55), transparent 60%),
    var(--wine);
  color: var(--white);
}
.cta h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.cta p { margin-top: 18px; font-size: 19px; color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.cta-mail { font-weight: 600; text-underline-offset: 4px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-logo { height: 24px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-right: auto; }
.foot-links a, .foot-copy { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid, .why-grid, .team-grid, .feature { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 0; }
  .hero-stage { max-width: 520px; margin-inline: auto; width: 100%; }
  .flow-track {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-left: 8px;
    border-top: 0;
    border-left: 2px solid var(--wine);
  }
  .flow-track li { padding: 0 0 0 24px; }
  .flow-track li::before { top: 4px; left: -8px; }
  .flow-track .flow-peak::before { top: 2px; left: -12px; }
  .flow-scale { display: none; }
}

/* Phone */
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top-nav > a:not(.btn) { display: none; }
  .ping-1 { left: -6px; }
  .ping-2 { right: -6px; }
  .ping { padding: 10px 14px 10px 10px; }
  .feature { border-radius: 28px; }
}

/* Product screenshots keep their own proportions so no UI gets cropped */
.shot-ui { aspect-ratio: auto; }
.shot-ui img { height: auto; }
