/* ============================================================
   FAXX — rebuilt site
   Palette and typefaces recovered from the site's own stylesheet:
   peach #FEAFA3, cream #FFF7F6, blush #FEDEDB, sky #AEDEE9,
   ink #222222; Montserrat + Varela Round.
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Varela Round';
  src: url('../font/VarelaRound.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --peach: #feafa3;
  --peach-2: #f58b7c;
  --peach-3: #ae3f2b;
  --peach-pale: #fff7f6;
  --blush: #fededb;
  --sky: #aedee9;
  --sky-pale: #eef9fb;
  --ink: #222222;
  --text: #5e5e5e;
  --soft: #6d6d6d;
  --line: #f2e2df;
  --white: #fff;
  --wrap: 1120px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(120, 60, 50, .06);
  --shadow: 0 14px 40px rgba(120, 60, 50, .10);
  --shadow-lg: 0 30px 70px rgba(120, 60, 50, .16);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--peach-pale);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .6rem; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

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

a { color: var(--peach-3); text-decoration: none; }
a:hover { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.lead { font-size: 1.14rem; max-width: 60ch; }
.small { font-size: .9rem; }
.muted { color: var(--soft); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.8rem; } .mt-4 { margin-top: 2.6rem; }
.mb-0 { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Varela Round', sans-serif;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--peach-3);
  margin: 0 0 .7rem;
}
.rule { display: block; width: 46px; height: 4px; border-radius: 3px; background: var(--peach); margin-bottom: 1rem; }
.center .rule { margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 247, 246, .92);
  backdrop-filter: saturate(1.5) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 4px 24px rgba(120, 60, 50, .07); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .55rem; }
.brand img { height: 32px; width: auto; }
.brand span { font-family: 'Varela Round', sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--peach-3); }

.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav > li { list-style: none; }
.nav a {
  display: inline-block; padding: .5rem .8rem; border-radius: 999px;
  font-size: .93rem; font-weight: 600; color: var(--ink);
}
.nav a:hover { background: var(--blush); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--peach); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2;
  padding: .8rem 1.5rem; border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; text-align: center;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--peach { background: var(--peach); color: var(--ink); }
.btn--peach:hover { background: var(--peach-2); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--ghost { border-color: var(--peach); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--blush); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--peach-pale); color: var(--ink); }
.btn--sm { padding: .55rem 1.1rem; font-size: .88rem; }
.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: auto; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 120; width: min(340px, 88vw);
  background: #fff; box-shadow: -12px 0 40px rgba(120, 60, 50, .18);
  transform: translateX(102%); transition: transform .28s ease;
  display: flex; flex-direction: column; padding: 1.1rem 1.3rem 1.6rem; overflow-y: auto;
}
.drawer[data-open="true"], .drawer.is-open { transform: translateX(0); }
body.no-scroll { overflow: hidden; }
.drawer-close { align-self: flex-end; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink); cursor: pointer; padding: .2rem .5rem; }
.drawer ul { list-style: none; margin: 1rem 0 1.4rem; padding: 0; }
.drawer a { display: block; padding: .75rem .2rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer a[aria-current="page"] { color: var(--peach-3); }
.drawer .btn { width: 100%; }
.scrim { position: fixed; inset: 0; z-index: 110; background: rgba(60, 30, 25, .38); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 74px) 0 clamp(48px, 7vw, 90px); }
.hero__blob {
  position: absolute; z-index: 0; top: -18%; right: -12%;
  width: min(760px, 78vw); aspect-ratio: 1; border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
  background: radial-gradient(circle at 35% 30%, #ffd0c8, var(--peach) 72%);
  filter: blur(2px); opacity: .85;
}
.hero__blob--2 {
  left: -14%; right: auto; top: auto; bottom: -26%;
  width: min(420px, 52vw); background: radial-gradient(circle at 40% 35%, #d9f2f8, var(--sky) 75%); opacity: .7;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.24rem); color: #4b4b4b; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.7rem; padding: 0; list-style: none; }
.hero-meta li {
  font-size: .8rem; font-weight: 600; color: var(--peach-3);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .8rem;
}
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone img { width: min(330px, 78%); filter: drop-shadow(0 30px 50px rgba(120, 60, 50, .22)); }
.hero-phone .float-badge {
  position: absolute; left: 4%; bottom: 8%;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; color: var(--ink);
}
.hero-phone .float-badge img { width: 34px; height: 34px; border-radius: 50%; filter: none; }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(44px, 6vw, 84px) 0; }
.section--white { background: #fff; }
.section--cream { background: var(--peach-pale); }
.section--blush { background: linear-gradient(180deg, var(--peach-pale), var(--blush)); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lead { color: rgba(255, 255, 255, .78); }
.section--ink .rule { background: var(--peach); }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3.4vw, 42px); }
.section-head.center { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 64px); align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 32px); box-shadow: var(--shadow-sm); }
.card p { font-size: .96rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0; }
.pill { font-size: .82rem; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; color: var(--ink); }

/* ------------------------------------------------------------ screens / tour */
.screens { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tabs { display: grid; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.tab {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: var(--r);
  padding: 1rem 1.1rem; font-family: inherit; color: var(--text);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tab:hover { background: #fff; border-color: var(--line); }
.tab[aria-selected="true"] { background: #fff; border-color: var(--peach); box-shadow: var(--shadow-sm); }
.tab .n {
  font-family: 'Varela Round', sans-serif; font-size: .78rem; font-weight: 700;
  color: var(--peach-3); background: var(--blush); border-radius: 999px;
  width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
}
.tab .k { font-family: 'Varela Round', sans-serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--peach-3); display: block; margin-bottom: .1rem; }
.tab .t { display: block; font-weight: 700; color: var(--ink); font-size: 1.02rem; margin-bottom: .1rem; }
.tab .d { display: block; font-size: .88rem; color: var(--text); }

.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.phone-stage::before {
  content: ''; position: absolute; inset: 8% 12% 6% 12%;
  border-radius: 52% 48% 44% 56% / 46% 52% 48% 54%;
  background: radial-gradient(circle at 38% 28%, #ffe3de, var(--blush) 72%);
}
.phone-stage img { position: relative; width: min(300px, 74%); filter: drop-shadow(0 24px 44px rgba(120, 60, 50, .20)); }
.tour-controls { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.1rem; }
.dots { display: flex; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blush); transition: transform .2s ease, background-color .2s ease;
}
.dots button[aria-current="true"] { background: var(--peach-3); transform: scale(1.3); }
.tour-toggle {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  font-family: inherit; font-size: .76rem; font-weight: 700; color: var(--text);
  padding: .3rem .7rem; cursor: pointer;
}
.tour-toggle:hover { border-color: var(--peach); color: var(--ink); }

.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); margin-top: clamp(28px, 4vw, 44px); }
.thumb {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: .7rem; cursor: pointer; text-align: center; font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.thumb img { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(120, 60, 50, .12)); }
.thumb span { display: block; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: var(--ink); }
.thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--peach); }
.thumb[aria-current="true"] { border-color: var(--peach); box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------ team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.person { text-align: center; }
.person img { width: 118px; height: 118px; margin: 0 auto .9rem; border-radius: 50%; background: var(--blush); transition: transform .25s ease; }
.person:hover img { transform: translateY(-4px) scale(1.03); }
.person h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.person .role { font-family: 'Varela Round', sans-serif; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--peach-3); }
.person a.handle { display: inline-block; margin-top: .5rem; font-size: .82rem; font-weight: 600; color: var(--text); }
.person a.handle:hover { color: var(--peach-3); }

/* ------------------------------------------------------------ quote / callout */
.quote { margin: 0; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ink); font-weight: 600; }
.quote figcaption { margin-top: .8rem; font-size: .86rem; color: var(--soft); }

.callout { border-radius: var(--r); padding: clamp(18px, 2.2vw, 26px); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--peach); }
.callout h3, .callout h4 { margin-bottom: .35rem; }
.callout p { font-size: .95rem; }
.callout--sky { border-left-color: var(--sky); }

.notice { border-radius: var(--r); border: 1px solid var(--line); background: #fff; padding: 1.05rem 1.25rem; font-size: .93rem; }
.notice b { color: var(--ink); }

/* ------------------------------------------------------------ form */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--peach); box-shadow: 0 0 0 4px rgba(254, 175, 163, .22); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { font-size: .8rem; color: #c0392b; min-height: 1em; }
.field.has-error input, .field.has-error textarea { border-color: #e08b7f; background: #fffafa; }
.form-status { font-size: .92rem; padding: .9rem 1.05rem; border-radius: var(--r-sm); background: var(--blush); color: var(--ink); }
.form-status.bad { background: #fdecea; color: #9b2c1f; }
.form-status.ok { background: #e9f6ee; color: #22603c; }
.form-status a { font-weight: 700; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(40px, 5vw, 64px) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(24px, 3vw, 44px); padding-bottom: 2rem; }
.site-footer h4 { color: #fff; font-family: 'Varela Round', sans-serif; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.site-footer li + li { margin-top: .45rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--peach); }
.footer-brand img { height: 34px; width: auto; margin-bottom: .9rem; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }
.footer-bitmojis { display: flex; gap: .5rem; padding: 0; margin: 1.1rem 0 0; list-style: none; }
.footer-bitmojis img { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-bottom .disc { max-width: 64ch; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.to-top[data-show="true"] { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phone { order: -1; }
  .hero-phone img { width: min(260px, 62%); }
  .hero__blob { top: -8%; right: -22%; width: min(560px, 90vw); }
  .screens { grid-template-columns: 1fr; }
  .phone-stage { min-height: 460px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .split, .split--wide { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding-top: 18px; padding-bottom: 34px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-phone { order: 0; margin-top: .4rem; }
  .hero-phone img { width: min(200px, 54%); }
  .hero-phone .float-badge { display: none; }
  .hero-meta { margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.1rem; }
  .phone-stage { min-height: 380px; }
  .phone-stage img { width: min(230px, 66%); }
  .hero-actions .btn { width: 100%; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .drawer, .scrim, .to-top, .tour-controls { display: none !important; }
  body { background: #fff; color: #000; }
  .hero__blob, .hero__blob--2, .phone-stage::before { display: none; }
  a { color: #000; text-decoration: underline; }
}
