/* Scrivo website styles */
:root {
  --teal: #0F766E;
  --teal-dark: #115E59;
  --teal-tint: #F0FDFA;
  --teal-soft: #CCFBF1;
  --ink: #111827;
  --body: #374151;
  --muted: #4B5563;
  --line: #E5E7EB;
  --ground: #F6F7F9;
  --ai: #3730A3;
  --ai-tint: #EEF2FF;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: #FFFFFF; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; padding: 0 14px; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; }
.nav a { color: var(--body); text-decoration: none; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"] { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font-size: 17px; font-weight: 600; text-decoration: none; border: 1px solid var(--teal); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--teal); color: #FFFFFF; }
.btn-primary:hover { background: var(--teal-dark); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--teal); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.nav .btn { color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--teal); border-color: #FFFFFF; font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--ground); }
.tint { background: var(--teal-tint); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--teal-dark); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(38px, 5.5vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
h3 { font-size: 20px; font-weight: 700; margin: 0; }
.lead { font-size: 20px; line-height: 1.55; color: var(--body); margin: 0; max-width: 620px; }
.sub { font-size: 18px; line-height: 1.6; color: var(--body); margin: 0; max-width: 720px; }
.note { font-size: 14px; color: var(--muted); margin: 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.stack { display: flex; flex-direction: column; gap: 22px; }

/* Hero */
.hero { padding: 80px 0 88px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.hero-visual { flex: 1 1 440px; min-width: 0; }
.page-hero { padding: 72px 0 56px; }
.page-hero .stack { max-width: 760px; }

/* Product preview card */
.preview { background: #FFFFFF; border: 1px solid #D1D5DB; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.preview-title { font-weight: 700; font-size: 16px; display: block; }
.preview-meta { font-size: 13px; color: var(--muted); }
.ai-badge { font-size: 12px; font-weight: 600; background: var(--ai-tint); color: var(--ai); padding: 5px 10px; border-radius: 999px; }
.note-label { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted); }
.ai-text { margin: 4px 0 0; font-size: 14px; line-height: 1.55; background: var(--ai-tint); color: #1E1B4B; border-radius: 8px; padding: 8px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.chip-money { border-color: #A7F3D0; background: #ECFDF5; color: #065F46; font-weight: 600; }
.revenue { font-size: 13px; color: var(--muted); background: #F0FDF4; border-radius: 8px; padding: 8px 10px; line-height: 1.45; }
.revenue strong { color: #047857; font-size: 14px; display: block; }
.preview-actions { display: flex; gap: 10px; padding-top: 8px; border-top: 1px solid #F3F4F6; }
.fake-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; font-weight: 600; font-size: 15px; padding: 0 16px; }
.fake-btn.primary { flex: 1; background: var(--teal); color: #FFFFFF; }
.fake-btn.secondary { border: 1px solid #D1D5DB; color: var(--body); }

/* Grids and cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; background: #FFFFFF; }
.alt .card { border-color: transparent; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.card .icon { width: 28px; height: 28px; color: var(--teal); }
.step-num { width: 40px; height: 40px; border-radius: 999px; background: var(--teal); color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.card a.more { font-weight: 600; text-decoration: none; margin-top: auto; }
.tag-soon { align-self: flex-start; font-size: 12px; font-weight: 700; background: #FEF3C7; color: #92400E; padding: 4px 10px; border-radius: 999px; }

/* Check lists */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* Split layout */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 0; }

/* Specialty blocks */
.spec { border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; margin-bottom: 24px; background: #FFFFFF; scroll-margin-top: 96px; }
.spec > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.spec h2 { font-size: 28px; }
.spec p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }

/* Tabs (home) */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tab { min-height: 46px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: #FFFFFF; color: var(--body); border: 1px solid #D1D5DB; }
.tab[aria-selected="true"] { background: var(--teal); color: #FFFFFF; border-color: var(--teal); }
.tab-panel[hidden] { display: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--body); }

/* Beliefs */
.belief { font-size: 22px; font-weight: 700; line-height: 1.35; margin: 0; }

/* Team */
.team-member { display: flex; flex-direction: column; gap: 12px; }
.photo-placeholder { aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--ground); border: 2px dashed #D1D5DB; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; padding: 12px; }

/* CTA band */
.cta { background: var(--teal); color: #FFFFFF; padding: 80px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta h2 { color: #FFFFFF; }
.cta p { margin: 12px 0 0; font-size: 18px; line-height: 1.6; color: #F0FDFA; max-width: 620px; }

/* Forms */
.form-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 50px; border: 1px solid #9CA3AF; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; background: #FFFFFF; color: var(--ink); }
.field textarea { padding: 12px 14px; min-height: 100px; resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }
a.hidden-field:focus { left: 16px; top: 16px; z-index: 20; background: #FFFFFF; padding: 10px 14px; border-radius: 8px; }
.form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); }

/* Phones */
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav.open { display: flex; }
  .nav a { border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-top: none; }
  .spec, .form-card { padding: 22px; }
}
