/* MySefa landing page — no build step, plain CSS.
   Palette: warm paper + ink (editorial), blue reserved for the one main action,
   red only for live recording, the orb gradient only for the assistant. */

:root {
  --paper: #FAF8F3;
  --paper-deep: #F3EFE6;
  --ink: #1A1813;
  --muted: #6D6657;
  --line: #E6E0D2;
  --card: #FFFFFF;
  --blue: #1A73E8;
  --blue-ink: #1558B0;
  --record: #E5484D;
  --dark: #14161C;
  --dark-2: #1D2028;
  --dark-line: #2E323C;
  --dark-text: #F5F5F7;
  --dark-muted: #A6AAB4;
  --radius: 22px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --hand: "Caveat", cursive;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.04; }
h2 { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.12; }
h1 em, h2 em { font-style: italic; }
h3 { font-size: 20px; font-weight: 650; margin: 0; letter-spacing: -0.01em; }

.kicker {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.lede { font-size: 20px; color: var(--muted); margin: 0; }

.hand { font-family: var(--hand); font-size: 22px; color: var(--muted); line-height: 1.2; }

/* ---------- header ---------- */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
nav.main { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 13px 24px;
  font-size: 16px;
  border: 1px solid transparent;
}
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(26, 115, 232, 0.25); }
.btn.primary:hover { background: var(--blue-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.small { padding: 10px 18px; font-size: 15px; }

/* ---------- hero ---------- */

.hero { padding: 64px 0 36px; text-align: center; }
.hero .platforms { margin: 0 0 20px; }
.hero h1 { max-width: 820px; margin: 0 auto; }
.hero .lede { max-width: 620px; margin: 22px auto 0; }
.hero .ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero .fineprint { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- product mock ---------- */

.stage { padding: 44px 0 20px; position: relative; }
.stage-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.annot { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* Real app screenshots in a device frame */
.phone-shot {
  width: 250px;
  height: auto;
  border-radius: 36px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(26, 24, 19, 0.2);
}
.phone-shot.dark { border-color: #3A3E48; box-shadow: none; }
.annot.grow { flex: 0 1 720px; min-width: min(300px, 90vw); }
.mac-shot {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(26, 24, 19, 0.16);
}

/* ---------- motto ---------- */

.motto { padding: 84px 0 10px; text-align: center; }
.motto h2 { max-width: 760px; margin: 0 auto 10px; }
.motto .grid {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 44px; text-align: left;
}
.motto .cell {
  flex: 1 1 230px; min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.motto .cell h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; font-style: italic; }
.motto .cell p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- sections ---------- */

section.band { padding: 84px 0; }
section.band.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 42px; }

.steps { display: flex; gap: 20px; flex-wrap: wrap; counter-reset: step; }
.step {
  flex: 1 1 280px; min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step .n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--muted); }
.step h3 { margin: 10px 0 8px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feature svg { color: var(--blue-ink); }
.feature h3 { margin: 12px 0 6px; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- years (dark) ---------- */

.years { background: var(--dark); color: var(--dark-text); }
.years .inner { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; padding: 92px 0; }
.years .copy { flex: 1 1 420px; min-width: 0; }
.years .lede { color: var(--dark-muted); margin-top: 14px; }
.years ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.years li { padding-left: 22px; position: relative; }
.years li::before { content: "·"; position: absolute; left: 4px; color: #82B8FF; font-weight: 700; }
/* ---------- screenshots ---------- */

.shots { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; align-items: flex-end; }
.shots figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shots img {
  width: 230px; max-width: 44vw; height: auto;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(26, 24, 19, 0.14);
}
.shots img.watch { width: 195px; border-radius: 44px; border-color: #3A3E48; }
.shots figcaption { font-size: 21px; }

/* ---------- pricing ---------- */

.plans { display: flex; gap: 22px; flex-wrap: wrap; }
.plan {
  flex: 1 1 340px; min-width: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 14px;
}
.plan.featured { background: var(--card); border: 2px solid var(--ink); }
.plan .name { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan h3 { font-size: 22px; }
.plan .tag { font-size: 12px; font-weight: 700; color: var(--blue-ink); background: #EDF3FE; border-radius: 999px; padding: 5px 11px; }
.plan .price { font-family: var(--serif); font-size: 46px; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--muted); }
.plan .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- letter ---------- */

.letter-wrap { display: flex; justify-content: center; padding: 90px 0; }
.letter {
  max-width: 620px;
  background: #FDFBF5;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(26, 24, 19, 0.1);
  padding: 52px 48px;
  transform: rotate(-0.4deg);
  font-size: 16.5px;
  line-height: 1.75;
}
.letter p { margin: 0 0 18px; }
.letter .sig { font-family: var(--hand); font-size: 28px; margin: 26px 0 0; color: var(--ink); }

/* ---------- faq ---------- */

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 650; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

/* ---------- download ---------- */

.download { text-align: center; padding: 20px 0 100px; }
.download .card {
  background: var(--card); border: 1px solid var(--line); border-radius: 34px;
  padding: 64px 28px; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.download img.icon { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 14px 36px rgba(26, 24, 19, 0.16); }
.download .note { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */

footer.site { border-top: 1px solid var(--line); }
footer.site .inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px 0; font-size: 14px; color: var(--muted);
}
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }

/* ---------- inner pages (privacy, terms, support) ---------- */

.page { max-width: 760px; padding-top: 28px; padding-bottom: 90px; }
.page h1 { margin: 10px 0 6px; }
.page h2 { font-size: 24px; margin: 38px 0 10px; }
.page .updated { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.page p, .page li { font-size: 16px; color: #3C382E; }
.page ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.page .draft {
  display: inline-block;
  font-size: 13px; font-weight: 650;
  color: #6B4E00; background: #FBF3DC; border: 1px solid #EBDCAE;
  border-radius: 999px; padding: 7px 14px; margin: 0 0 14px;
}
.page .faq { max-width: none; }
.page h3 { font-size: 18px; margin: 26px 0 8px; }
.plan .fineprint { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.plan .fineprint a { color: inherit; }
.notfound { text-align: center; }

@media (max-width: 720px) {
  .phone-shot { width: min(250px, 70vw); }
  .letter { padding: 36px 26px; transform: none; }
}
