/* Rewinzo landing page styles */
:root {
  --ground: #F5F7F6;
  --surface: #FFFFFF;
  --ink: #10201C;
  --muted: #4A5A56;
  --line: #DDE4E1;
  --accent: #0F6E5E;
  --accent-dark: #0A5246;
  --accent-soft: #E3EFEB;
  --danger: #B42318;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  /* System fonts only: no third-party font requests (GDPR friendly) */
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
button:focus-visible, a:focus-visible, input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Vertical padding only, so .wrap keeps its side gutter on phones */
section.block { padding-top: 72px; padding-bottom: 72px; }
h2 { margin: 0 0 32px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; font-weight: 800; }

/* Header */
header.top { background: var(--surface); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.langs { display: flex; flex-wrap: wrap; gap: 4px; }
.langs button {
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; text-align: center;
  border-radius: 10px; border: 0; background: var(--accent); color: #FFFFFF; text-decoration: none;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: center; padding: 72px 0 64px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.eyebrow { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; font-weight: 700; }
h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); }

/* Form */
.join { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.join label { font-size: 14px; font-weight: 700; }
.join .row { display: flex; flex-wrap: wrap; gap: 10px; }
.join input[type="email"] {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1px solid #C9D3CF; background: var(--surface); font: inherit; font-size: 16px; color: var(--ink);
}
.join .btn { min-height: 52px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.small { margin: 0; font-size: 14px; color: var(--muted); }
.msg-error { margin: 0; font-size: 14px; font-weight: 600; color: var(--danger); }
.msg-ok { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* Product mock */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 20px 50px rgba(16, 32, 28, 0.08); display: flex; flex-direction: column; gap: 18px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mock-head strong { font-size: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.mock-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #E6ECE9; border-radius: 14px; }
.mock-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: #F0F4F2; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.mock-label { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mock-label b { font-size: 15px; }
.mock-label span { font-size: 13px; color: var(--muted); }
.mock-btn { padding: 8px 12px; border-radius: 9px; border: 1px solid #C9D3CF; font-size: 13px; font-weight: 700; }

/* Cards */
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--ground); display: flex; flex-direction: column; gap: 14px; }
.band .card { background: var(--ground); }
.card.white { background: var(--surface); }
.card h3 { margin: 0; font-size: 22px; font-weight: 800; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.icon-box.dark { background: var(--ink); }
.checks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.checks svg { flex: 0 0 20px; color: var(--accent); }
.step-n { width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--accent); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.card.step h3 { font-size: 19px; }
.card.step p { font-size: 15px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.card.plan { position: relative; }
.card.plan.featured { border: 2px solid var(--accent); background: var(--surface); }
.plan-badge { position: absolute; top: -13px; left: 24px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.plan-name { font-size: 15px; font-weight: 700; color: var(--muted); }
.plan-price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.plan-price small { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }

/* Founder offer */
.founder { margin-top: 28px; padding: 28px; border-radius: 20px; background: var(--ink); color: #FFFFFF; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.founder-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.founder-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 13px; font-weight: 700; }
.founder h3 { margin: 0; font-size: 24px; font-weight: 800; }
.founder p { margin: 0; font-size: 16px; line-height: 1.6; color: #C9D6D2; }
.founder { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.founder-text { flex: 0 0 auto; }
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.founder-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.founder-card.featured { border: 2px solid #7FD3C1; }
.founder-card .plan-name { color: #C9D6D2; }
.founder-card .plan-price { color: #FFFFFF; }
.founder-regular { font-size: 13px; color: #9FB3AD; text-decoration: line-through; }
.founder-card p { flex: 1 1 auto; margin: 4px 0 8px; font-size: 15px; }
.founder-secure { font-size: 13px; color: #C9D6D2; }
.founder .btn { background: #FFFFFF; color: var(--ink); }
.founder .btn:hover { background: var(--accent-soft); color: var(--ink); }
.note { margin: -20px 0 24px; font-size: 16px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 700; }
.faq details p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Footer */
footer.bottom { border-top: 1px solid var(--line); background: var(--surface); }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
footer.bottom b { color: var(--ink); }

/* Privacy page */
.legal { max-width: 760px; padding: 56px 24px 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 24px; }
.legal p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 16px; }
