@font-face { font-family: "Bricolage"; src: url("fonts/BricolageText-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/BricolageText-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/BricolageText-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/BricolageText-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/BricolageText-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage Display"; src: url("fonts/BricolageDisplay-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --page: #F4EFE6; --surface: #FBF8F2; --muted: #E8E0D2; --line: #DDD4C4;
  --ink: #141414; --ink2: #5E5A52; --accent: #3F6DB8; --bar: #2C4A7E;
  --sun: #F1C436; --sunsoft: #F8E7AE; --coral: #D33A1F; --good: #1F8A4C;
}
@media (prefers-color-scheme: dark) {
  :root { --page: #13151A; --surface: #1C1F26; --muted: #262A33; --line: #343945;
          --ink: #F4F1EA; --ink2: #A9A49A; --accent: #7FA3DE; --sunsoft: #3A3420; --good: #4FCB80; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Bricolage", -apple-system, system-ui, sans-serif;
       font-size: 17px; line-height: 1.5; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.3px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 20px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--ink2); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 36px 0 64px; }
h1 { font-family: "Bricolage Display", "Bricolage", sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 66px);
     line-height: 1.02; letter-spacing: -1.6px; margin: 18px 0 18px; }
.mark { background: linear-gradient(transparent 52%, var(--sun) 52%, var(--sun) 92%, transparent 92%); padding: 0 4px; margin: 0 -4px; }
@media (prefers-color-scheme: dark) { .mark { color: #141414; background: var(--sun); border-radius: 6px; } }
.lead { font-size: 20px; color: var(--ink2); font-weight: 500; max-width: 520px; margin: 0 0 28px; }
.rada { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--ink2); }
.rada img { width: 48px; height: 48px; border-radius: 50%; background: #FBE3CC; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--page); text-decoration: none;
       font-weight: 800; font-size: 17px; padding: 15px 22px; border-radius: 16px; }
.cta svg { width: 20px; height: 20px; fill: currentColor; }
.soon { display: block; margin-top: 10px; font-size: 14px; color: var(--ink2); font-weight: 600; }

.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 38px; overflow: hidden; border: 7px solid #141414;
         box-shadow: 0 30px 60px -20px rgba(20,20,20,.35); background: #141414; }
.phone img { display: block; width: 100%; }
.phone.a { left: 4%; top: 40px; transform: rotate(-6deg); z-index: 1; }
.phone.b { left: 34%; top: 0; z-index: 2; }
.phone.c { right: 0; top: 70px; transform: rotate(6deg); z-index: 1; }

/* Sections */
section { padding: 56px 0; }
h2 { font-family: "Bricolage Display", "Bricolage", sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 42px);
     letter-spacing: -1px; line-height: 1.08; margin: 0 0 12px; }
.sub { color: var(--ink2); font-size: 18px; font-weight: 500; margin: 0 0 30px; max-width: 620px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { border-radius: 22px; padding: 22px; min-height: 210px; display: flex; flex-direction: column; }
.card h3 { margin: auto 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.15; }
.card p { margin: 0; font-size: 15px; font-weight: 500; }
.card .tag { font-size: 13px; font-weight: 700; opacity: .75; }
.c1 { background: var(--bar); color: #fff; }
.c2 { background: var(--sun); color: #1d2b4a; }
.c3 { background: var(--muted); color: var(--ink); }
.c4 { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .c4 { color: #0E1A2E; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun);
          color: #141414; font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.step p { margin: 0; color: var(--ink2); font-size: 15px; font-weight: 500; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan { border-radius: 22px; padding: 26px; background: var(--surface); border: 1px solid var(--line); }
.plan.pro { background: var(--bar); color: #fff; border: none; }
.plan h3 { margin: 0; font-size: 24px; font-weight: 800; }
.price { font-size: 15px; font-weight: 700; margin: 4px 0 16px; opacity: .8; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-weight: 600; font-size: 15px; }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px;
                   background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23141414' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan li.free::before { background-color: var(--muted); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; font-size: 17px; }
.faq p { color: var(--ink2); margin: 10px 0 0; font-weight: 500; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 30px; color: var(--ink2); font-size: 14px; font-weight: 600;
         display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--ink2); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Legal pages */
.doc { max-width: 720px; padding: 20px 0 40px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 10px 0 6px; }
.doc .updated { color: var(--ink2); font-weight: 600; font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 24px; letter-spacing: -0.4px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink); font-weight: 400; }
.doc li { margin-bottom: 6px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 800; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 10px; }
  .phones { height: 470px; max-width: 520px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps, .plans { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .phones { height: 400px; }
  .phone { width: 170px; border-radius: 30px; border-width: 5px; }
  .phone.a { left: 0; } .phone.c { right: 0; }
  .phone.b { left: 50%; margin-left: -85px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 170px; }
}
@media (prefers-color-scheme: dark) { .plan li.free::before { background-color: #A9A49A; } }
