@font-face {
  font-family: "Outfit";
  src: url("../../RedFlag/Resources/Fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #181716;
  --ink-soft: #2a211d;
  --paper: #fff5e0;
  --paper-2: #ffe9cc;
  --card: #fffdf4;
  --muted: #74685c;
  --red: #e0334a;
  --coral: #ff4d61;
  --peach: #ff8c3d;
  --sun: #ffcc40;
  --lime: #94e63d;
  --green: #21a861;
  --blue: #0a8cf0;
  --pink: #ff6eab;
  --line: rgba(24, 23, 22, .1);
  --line-strong: rgba(24, 23, 22, .16);
  --shadow: 0 24px 70px rgba(130, 73, 30, .16);
  --shadow-red: 0 18px 44px rgba(224, 51, 74, .28);
  --font: "Outfit", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(24, 23, 22, .035) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(180deg, var(--paper), #fff8ec 36%, var(--paper-2));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 8%, rgba(255, 204, 64, .62), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 77, 97, .32), transparent 30%),
    radial-gradient(circle at 8% 74%, rgba(148, 230, 61, .36), transparent 28%),
    radial-gradient(circle at 86% 86%, rgba(10, 140, 240, .16), transparent 30%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid rgba(10, 140, 240, .65);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 245, 224, .78);
  border-bottom: 1px solid rgba(24, 23, 22, .08);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  height: 27px;
  width: auto;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(224, 51, 74, .22);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlinks a {
  padding: 8px 12px;
  border-radius: 12px;
  color: rgba(24, 23, 22, .62);
  font-size: 13px;
  font-weight: 750;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  background: rgba(24, 23, 22, .07);
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--coral), var(--peach));
  box-shadow: 0 10px 26px rgba(224, 51, 74, .22);
}
.nav-cta:hover { transform: translateY(-1px); }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 3px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(24, 23, 22, .08);
}

.language-switch a {
  min-width: 34px;
  padding: 6px 8px;
  text-align: center;
  border-radius: 10px;
  color: rgba(24, 23, 22, .56);
  font-size: 12px;
  font-weight: 900;
}

.language-switch a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100dvh - 74px);
  padding: 72px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, .97fr);
  gap: 56px;
  align-items: center;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 20px 50%;
  height: 72%;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(255, 204, 64, .65), rgba(255, 77, 97, .28)),
    linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.12));
  transform: rotate(-3deg);
  z-index: -1;
  box-shadow: var(--shadow);
}

.hero-eyebrow,
.section-label,
.premium-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(24, 23, 22, .58);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-eyebrow-dot,
.section-label::before,
.premium-label::before {
  content: "";
  width: 38px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--peach), var(--sun));
  box-shadow: 0 7px 18px rgba(224, 51, 74, .18);
}

.hero-title {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 8.7vw, 116px);
  line-height: .94;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

.hero-title .hero-title-accent {
  color: var(--red);
  text-shadow: 0 12px 34px rgba(224, 51, 74, .14);
}

.hero-subtitle {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-premium,
.btn-cta,
.btn-link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-hero-primary,
.btn-premium,
.btn-cta {
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--pink), var(--peach));
  box-shadow: var(--shadow-red);
}

.btn-hero-secondary,
.btn-link-card {
  color: var(--ink);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(24, 23, 22, .1);
}

.btn-hero-primary:hover,
.btn-hero-secondary:hover,
.btn-premium:hover,
.btn-cta:hover,
.btn-link-card:hover {
  transform: translateY(-2px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(24, 23, 22, .08);
  color: #5c5046;
  font-size: 13px;
  font-weight: 760;
}

.hero-visual {
  position: relative;
  min-height: 670px;
  display: grid;
  place-items: center;
}

.file-stack {
  position: relative;
  width: min(100%, 430px);
  padding: 26px;
  border-radius: 38px;
  background: rgba(255, 253, 244, .72);
  border: 1px solid rgba(24, 23, 22, .08);
  box-shadow: var(--shadow);
}

.file-stack::before,
.file-stack::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 34px;
  border: 1px solid rgba(24, 23, 22, .06);
  z-index: -1;
}
.file-stack::before {
  background: rgba(255, 204, 64, .42);
  transform: rotate(-5deg) translate(-34px, 28px);
}
.file-stack::after {
  background: rgba(255, 77, 97, .22);
  transform: rotate(5deg) translate(34px, 24px);
}

.hero-phone {
  position: relative;
  width: min(100%, 338px);
  aspect-ratio: 9 / 19.4;
  margin: 0 auto;
  border: 10px solid #201a16;
  border-radius: 48px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(57, 32, 20, .24);
  overflow: hidden;
  transform: rotate(1.3deg);
}

.hero-phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #201a16;
  z-index: 2;
}

.phone-ui {
  height: 100%;
  padding: 58px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(circle at 85% 5%, rgba(255, 204, 64, .45), transparent 32%),
    linear-gradient(180deg, var(--paper), #fffaf0);
}

.phone-app-icon {
  width: 66px;
  height: 66px;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(224, 51, 74, .25);
}

.phone-title {
  font-size: 25px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
}

.phone-score-bar {
  display: grid;
  grid-template-columns: 1.35fr .8fr .45fr;
  gap: 7px;
}
.phone-score-bar span { height: 10px; border-radius: 999px; }

.phone-mode-list,
.phone-card-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.phone-mode-card,
.phone-result-card,
.mini-signal-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(24, 23, 22, .08);
}

.phone-mode-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.phone-mode-label,
.phone-result-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.phone-mode-tag,
.phone-result-sub {
  margin-left: auto;
  color: rgba(24, 23, 22, .46);
  font-size: 11px;
  font-weight: 800;
}

.phone-result-card {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(33, 168, 97, .15), rgba(148, 230, 61, .13));
  border-color: rgba(33, 168, 97, .22);
}

.phone-result-text { min-width: 0; }
.phone-result-sub { margin: 3px 0 0; line-height: 1.35; }

.section {
  padding: 104px 0;
}

.section-header {
  max-width: 730px;
  margin-bottom: 48px;
}

.section-title {
  margin: 0;
  font-size: clamp(38px, 5.7vw, 76px);
  line-height: .92;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

.section-sub {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.features-section {
  position: relative;
  padding-top: 86px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 253, 244, .68);
  border: 1px solid rgba(24, 23, 22, .08);
  box-shadow: 0 18px 48px rgba(130, 73, 30, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(130, 73, 30, .13);
}
.feature-card:nth-child(1) {
  min-height: 310px;
  background: linear-gradient(135deg, rgba(255, 204, 64, .58), rgba(255, 253, 244, .72));
}
.feature-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(255, 77, 97, .2), rgba(255, 253, 244, .72));
}
.feature-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(148, 230, 61, .28), rgba(255, 253, 244, .72));
}
.feature-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(10, 140, 240, .13), rgba(255, 253, 244, .72));
}
.feature-card:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--ink), #36231c);
  color: #fff;
}
.feature-card:nth-child(5) p,
.feature-card:nth-child(5) .feature-tag { color: rgba(255, 255, 255, .62); }

.feature-tag {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(24, 23, 22, .46);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-card h3,
.mode-card h3,
.premium-item-title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.feature-card p,
.mode-card p,
.premium-item-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.privacy-meter {
  width: min(230px, 34vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, var(--ink) 0 43%, transparent 44%),
    conic-gradient(var(--green), var(--lime), var(--sun), var(--green));
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .07);
}
.privacy-meter span {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.steps-section {
  background: rgba(255, 253, 244, .55);
  border-block: 1px solid rgba(24, 23, 22, .08);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 23, 22, .1);
  border-radius: 30px;
  background: rgba(255, 255, 255, .46);
}

.step {
  padding: 34px;
  border-right: 1px solid rgba(24, 23, 22, .09);
}
.step:last-child { border-right: 0; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 17px;
  color: var(--ink);
  font-weight: 900;
  background: var(--sun);
  box-shadow: 0 14px 30px rgba(255, 140, 61, .18);
}
.step:nth-child(2) .step-number { background: var(--pink); color: #fff; }
.step:nth-child(3) .step-number { background: var(--lime); }

.step h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.modes-grid,
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mode-card,
.premium-item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(24, 23, 22, .09);
  background: rgba(255, 253, 244, .7);
  box-shadow: 0 20px 56px rgba(130, 73, 30, .09);
}
.mode-card::before {
  content: "";
  position: absolute;
  top: -42px;
  right: -38px;
  width: 140px;
  height: 140px;
  border-radius: 42px;
  transform: rotate(18deg);
  opacity: .52;
}
.mode-card-dating::before { background: var(--green); }
.mode-card-naissante::before { background: var(--sun); }
.mode-card-etablie::before { background: var(--red); }

.mode-pill {
  position: relative;
  display: inline-flex;
  margin-bottom: 50px;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mode-pill-free { background: rgba(33, 168, 97, .15); color: #0c7544; }
.mode-pill-premium { background: rgba(224, 51, 74, .12); color: var(--red); }

.privacy-section {
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(135deg, #163b27, #0f251c);
  color: #fff;
}
.privacy-section .section-label,
.privacy-section .section-sub,
.privacy-section .feature-card p {
  color: rgba(255, 255, 255, .64);
}
.privacy-section .section-label::before { background: linear-gradient(90deg, var(--green), var(--lime)); }

.privacy-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 52px;
  align-items: center;
}

.privacy-points {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.privacy-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .86);
  font-weight: 760;
}
.privacy-point-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.privacy-visual {
  position: relative;
  min-height: 420px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 18%, rgba(148,230,61,.28), transparent 35%),
    radial-gradient(circle at 82% 80%, rgba(255,204,64,.18), transparent 32%),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.privacy-badge-big {
  position: absolute;
  inset: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #173524 0 38%, transparent 39%),
    conic-gradient(var(--lime), var(--green), var(--sun), var(--lime));
  font-size: 0;
}
.privacy-badge-big::before {
  content: "Local";
  color: #fff;
  font-size: 56px;
  font-weight: 900;
}
.privacy-badge-big::after {
  content: "aucun serveur";
  position: absolute;
  bottom: 98px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.premium-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.premium-section::before {
  content: "";
  position: absolute;
  inset: 84px auto auto 50%;
  width: min(780px, 85vw);
  height: 360px;
  transform: translateX(-50%) rotate(-3deg);
  border-radius: 54px;
  background: linear-gradient(135deg, rgba(255, 77, 97, .28), rgba(255, 204, 64, .38), rgba(148, 230, 61, .18));
  z-index: -1;
}
.premium-section .section-title,
.premium-desc {
  margin-left: auto;
  margin-right: auto;
}
.premium-desc {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}
.premium-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  text-align: left;
}
.premium-item {
  min-height: 190px;
  background: rgba(255, 253, 244, .72);
}
.premium-item:nth-child(1) { background: linear-gradient(135deg, rgba(255,77,97,.18), rgba(255,253,244,.78)); }
.premium-item:nth-child(2) { background: linear-gradient(135deg, rgba(10,140,240,.13), rgba(255,253,244,.78)); }
.premium-item:nth-child(3) { background: linear-gradient(135deg, rgba(255,204,64,.38), rgba(255,253,244,.78)); }
.premium-item:nth-child(4) { background: linear-gradient(135deg, rgba(148,230,61,.22), rgba(255,253,244,.78)); }
.premium-item-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ink);
}
.premium-item-icon.red { background: var(--red); }
.premium-item-icon.blue { background: var(--blue); }
.premium-item-icon.sun { background: var(--sun); }
.premium-item-icon.green { background: var(--green); }
.btn-premium { margin-top: 36px; }
.premium-fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cta-section {
  text-align: center;
  padding-bottom: 118px;
}
.cta-section .section-title,
.cta-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 52px 0;
  background: var(--ink);
  color: #fff;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-tagline {
  max-width: 310px;
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  line-height: 1.55;
}
.footer-copy {
  margin: 0;
  color: rgba(255,255,255,.32);
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-links a {
  padding: 8px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 720;
}
.footer-links a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* Legal pages */
.legal-hero {
  padding: 76px 0 40px;
}
.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .46fr);
  gap: 42px;
  align-items: end;
}
.legal-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .88;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}
.legal-date,
.page-date {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 720;
}
.legal-summary-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 253, 244, .68);
  border: 1px solid rgba(24, 23, 22, .08);
  box-shadow: 0 18px 54px rgba(130, 73, 30, .1);
}
.legal-summary-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}
.legal-summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.legal-body {
  padding: 28px 0 100px;
}
.legal-content {
  width: min(820px, calc(100% - 44px));
  margin: 0 auto;
}
.legal-section {
  padding: 30px 0;
  border-bottom: 1px solid rgba(24, 23, 22, .1);
}
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.08;
}
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.legal-section p { margin: 0 0 14px; }
.legal-section ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.legal-section li {
  position: relative;
  padding-left: 24px;
}
.legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--coral);
}
.legal-section a {
  color: var(--red);
  font-weight: 850;
}
.legal-section a:hover { text-decoration: underline; }

.contact-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 253, 244, .72);
  border: 1px solid rgba(24, 23, 22, .09);
  box-shadow: 0 18px 54px rgba(130, 73, 30, .1);
}
.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--coral), var(--peach));
}
.contact-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-email {
  display: inline-flex;
  margin-top: 4px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
}
.info-list li {
  min-height: 44px;
  padding: 10px 14px 10px 38px;
  border-radius: 15px;
  background: rgba(255, 253, 244, .7);
  border: 1px solid rgba(24, 23, 22, .08);
}
.info-list li::before {
  left: 15px;
  top: 19px;
  background: var(--green);
}

@media (max-width: 980px) {
  .hero,
  .features-grid,
  .privacy-inner,
  .legal-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 58px;
  }
  .hero::before {
    inset: 46% 0 30px 20%;
    height: 50%;
  }
  .hero-visual { min-height: 600px; }
  .steps-grid,
  .modes-grid,
  .premium-grid {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid rgba(24, 23, 22, .09);
  }
  .step:last-child { border-bottom: 0; }
  .feature-card:nth-child(5) {
    grid-template-columns: 1fr;
  }
  .privacy-meter { width: 180px; }
}

@media (max-width: 680px) {
  .shell,
  .legal-content { width: calc(100% - 36px); }
  .nav-inner {
    min-height: 66px;
  }
  .navlinks .navlinks-text {
    display: none;
  }
  .navlinks a[aria-current="page"] {
    display: inline-flex;
  }
  .nav-cta {
    min-height: 38px;
    padding: 0 13px !important;
  }
  .brand-logo { height: 23px; }
  .hero {
    min-height: auto;
    padding: 48px 0 68px;
    gap: 34px;
  }
  .hero-title {
    font-size: clamp(48px, 16vw, 70px);
    line-height: .98;
  }
  .hero-actions,
  .button-row {
    flex-direction: column;
  }
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-premium,
  .btn-cta,
  .btn-link-card {
    width: 100%;
  }
  .hero-visual {
    min-height: 540px;
  }
  .file-stack {
    padding: 18px;
  }
  .hero-phone {
    width: min(100%, 300px);
  }
  .section {
    padding: 76px 0;
  }
  .section-title,
  .legal-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
  .feature-card,
  .mode-card,
  .premium-item,
  .step {
    padding: 24px;
  }
  .privacy-visual {
    min-height: 320px;
  }
  .privacy-badge-big {
    inset: 38px;
  }
  .privacy-badge-big::before {
    font-size: 42px;
  }
  .privacy-badge-big::after {
    bottom: 72px;
  }
  .footer-inner {
    flex-direction: column;
  }
}
