/* =========================================================================
   Summarise Visually — marketing + support site
   Brand: graphite ink on a warm canvas, one indigo signature accent.
   Editorial serif display (Fraunces) + clean sans body (Inter).
   ========================================================================= */

:root {
  --canvas:        #ECECEA;
  --canvas-2:      #F4F4F2;
  --surface:       #FBFBF9;
  --ink:           #14141A;
  --graphite:      #2A2A2E;
  --muted:         #5E5E66;
  --line:          #DEDEDA;
  --line-strong:   #CDCDC8;

  --signature:     #5B52EB;
  --signature-2:   #8561FB;
  --signature-ink: #4039C4;
  --signature-soft:#ECEBFD;

  --radius-sm: 14px;
  --radius:    22px;
  --radius-lg: 30px;

  --shadow-card: 0 22px 48px -24px rgba(20, 20, 26, 0.28),
                 0 2px 6px -2px rgba(20, 20, 26, 0.08);
  --shadow-soft: 0 14px 40px -20px rgba(20, 20, 26, 0.22);

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 680px at 82% -8%, rgba(91, 82, 235, 0.10), transparent 60%),
    radial-gradient(900px 560px at -6% 8%, rgba(133, 97, 251, 0.07), transparent 55%),
    linear-gradient(180deg, var(--canvas-2), var(--canvas));
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* ----------------------------- Typography ------------------------------ */

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.06; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signature-ink);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1.5px;
  background: var(--signature);
  display: inline-block;
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}

.lead { color: var(--muted); font-size: 1.12rem; }

.accent-text { color: var(--signature); }
.serif-em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ------------------------------ Buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--signature) 0%, var(--signature-2) 100%);
  box-shadow: 0 14px 30px -12px rgba(91, 82, 235, 0.62);
}
.btn-primary:hover { box-shadow: 0 18px 38px -12px rgba(91, 82, 235, 0.72); transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; border-color: var(--signature); color: var(--signature-ink); }

.btn-lg { padding: 16px 28px; font-size: 1.04rem; }

/* ------------------------------- Cards --------------------------------- */

.card {
  background: linear-gradient(180deg, var(--surface), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ------------------------------- Navbar -------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.4);
  background: rgba(244, 244, 242, 0.74);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.brand img {
  width: 38px; height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 16px -8px rgba(91, 82, 235, 0.6);
}
.brand b { font-weight: 650; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.94rem; color: var(--graphite); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--signature); }

/* ------------------------------- Hero ---------------------------------- */

section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 116px); }

.hero { padding-top: clamp(48px, 7vw, 86px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-top: 22px;
}
.hero .lead { margin-top: 22px; max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signature); }

/* phone mockup */
.phone-stage { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-stage::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  background: radial-gradient(closest-side, rgba(91,82,235,0.16), transparent 72%);
  filter: blur(6px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(320px, 78vw);
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #2c2c33, #0c0c10);
  box-shadow: 0 50px 90px -40px rgba(20,20,26,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.phone-screen {
  border-radius: 33px;
  overflow: hidden;
  background: linear-gradient(180deg, #F4F4F2, #E7E7F4);
  aspect-ratio: 9 / 19.3;
  display: flex;
  flex-direction: column;
}
.notch {
  width: 38%;
  height: 22px;
  background: #0c0c10;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 0;
}
.scr-pad { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.scr-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.45rem; line-height: 1.05; letter-spacing: -0.02em; }
.scr-title span { display: block; color: var(--signature); }
.scr-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.scr-chip {
  font-size: 0.66rem; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--graphite);
}
.scr-chip.on { background: var(--signature); color: #fff; border-color: transparent; }
.scr-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.scr-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signature-ink); }
.scr-body { font-family: var(--font-serif); font-size: 0.82rem; line-height: 1.5; color: var(--graphite); margin-top: 7px; }
.caret { display: inline-block; width: 2px; height: 0.95em; background: var(--signature); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
.scr-cta {
  margin-top: auto;
  text-align: center;
  font-size: 0.78rem; font-weight: 700; color: #fff;
  padding: 12px; border-radius: 14px;
  background: linear-gradient(135deg, var(--signature), var(--signature-2));
}

/* --------------------------- Logo / trust ------------------------------ */

.strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4vw, 52px);
  color: var(--muted); font-size: 0.86rem; font-weight: 500;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: 22px;
}
.strip span { display: inline-flex; align-items: center; gap: 9px; }
.strip svg { width: 17px; height: 17px; color: var(--signature); }

/* ----------------------------- Sections -------------------------------- */

.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 16px; }
.section-head .lead { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* Feature grid */
.feature-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--signature-soft); color: var(--signature-ink);
  margin-bottom: 16px;
}
.feature .ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.16rem; font-weight: 650; letter-spacing: -0.01em; }
.feature p { color: var(--muted); margin: 10px 0 0; font-size: 0.96rem; }

/* Modes */
.modes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mode {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.mode .tag {
  flex: none;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  color: #fff; background: var(--graphite);
  padding: 5px 10px; border-radius: 8px; margin-top: 2px;
}
.mode.lead-mode .tag { background: linear-gradient(135deg, var(--signature), var(--signature-2)); }
.mode h4 { margin: 0; font-size: 0.98rem; font-weight: 650; }
.mode p { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Steps */
.steps { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 14px; }
.step .num {
  font-family: var(--font-serif); font-size: 2.4rem; font-weight: 500;
  color: var(--signature); line-height: 1;
}
.step h3 { margin-top: 14px; font-size: 1.18rem; font-weight: 650; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* Dark band (pricing) */
.band {
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(133,97,251,0.30), transparent 60%),
    linear-gradient(160deg, #181822, #0d0d12);
  color: #F4F4F6;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}
.band .eyebrow { color: #B9B2FF; }
.band .eyebrow::before { background: #B9B2FF; }
.band h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: #fff; }
.band .lead { color: #B9B9C6; }
.price-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.price-tag { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.price-tag .amt { font-family: var(--font-serif); font-size: 3.4rem; font-weight: 500; color: #fff; line-height: 1; }
.price-tag .per { color: #A9A9BC; font-size: 1rem; }
.trial-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(133,97,251,0.18); color: #C9C2FF;
  border: 1px solid rgba(133,97,251,0.4);
  padding: 7px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
  margin-bottom: 18px;
}
.price-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; color: #D6D6E0; font-size: 0.98rem; }
.price-list svg { width: 19px; height: 19px; color: #9C8FFF; flex: none; margin-top: 2px; }
.band .fine { color: #8C8C9E; font-size: 0.82rem; margin-top: 20px; }
.band-cta { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 30px; text-align: center; }
.band-cta .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: #fff; }
.band-cta .btn-ghost:hover { background: rgba(255,255,255,0.16); }

/* FAQ */
.faq { margin-top: 44px; display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
details.qa {
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color .2s, background .2s;
}
details.qa[open] { background: #fff; border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
details.qa summary {
  list-style: none; cursor: pointer;
  font-weight: 600; font-size: 1.02rem;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .pm {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--signature);
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
details.qa[open] summary .pm { transform: rotate(45deg); background: var(--signature); color: #fff; border-color: transparent; }
details.qa p { margin: 0 0 20px; color: var(--muted); font-size: 0.98rem; }

/* CTA finale */
.finale { text-align: center; }
.finale h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.finale .lead { max-width: 52ch; margin: 18px auto 30px; }

/* ------------------------------- Footer -------------------------------- */

.footer { border-top: 1px solid var(--line); padding-block: 48px; margin-top: 24px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer .brand small { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.footer-links a:hover { color: var(--signature); }
.footer-base { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 0.84rem; }

/* ---------------------------- Support page ----------------------------- */

.page-hero { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-top: 18px; }
.page-hero .lead { margin-top: 18px; max-width: 60ch; }

.contact-grid { margin-top: 40px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; }
.contact-card { padding: 32px; }
.contact-card .ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--signature), var(--signature-2)); color: #fff; margin-bottom: 18px;
}
.contact-card .ico svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.3rem; font-weight: 650; }
.contact-card p { color: var(--muted); margin: 10px 0 22px; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.email-pill {
  font-weight: 600; font-size: 1.02rem; color: var(--signature-ink);
  background: var(--signature-soft); border: 1px solid #D9D6FA;
  padding: 11px 18px; border-radius: 12px; font-family: var(--font-sans);
}
.meta-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.meta-item { display: flex; gap: 13px; align-items: flex-start; }
.meta-item .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--signature-soft); color: var(--signature-ink); display: grid; place-items: center; flex: none; }
.meta-item .ico svg { width: 19px; height: 19px; }
.meta-item h4 { margin: 0; font-size: 0.96rem; font-weight: 650; }
.meta-item p { margin: 3px 0 0; color: var(--muted); font-size: 0.9rem; }

.help-prose { max-width: 760px; }
.help-prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 6px; }
.help-prose h3 { font-size: 1.14rem; font-weight: 650; margin-top: 36px; }
.help-prose p, .help-prose li { color: var(--graphite); }
.help-prose ul { padding-left: 20px; }
.help-prose li { margin-bottom: 9px; }
.help-prose a { color: var(--signature); font-weight: 500; }
.help-prose a:hover { text-decoration: underline; }

/* Legal / prose */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.legal h2 { font-size: 1.32rem; font-weight: 650; margin-top: 40px; }
.legal p, .legal li { color: var(--graphite); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--signature); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); }

/* ---------------------------- Responsive ------------------------------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .phone-stage { order: -1; margin-bottom: 12px; }
  .feature-grid, .modes, .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .feature-grid, .modes, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .footer-grid { flex-direction: column; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
