:root {
  --blue: #327cbd;
  --blue-dark: #28649a;
  --ink: #2b2b2b;
  --grey: #666;
  --slate: #363a43;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; background: #fff; }
.brand img { width: 170px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: 1.15rem; }
.site-header nav a { text-decoration: none; color: #333; padding: 8px 4px; border-bottom: 2px solid transparent; }
.site-header nav a:hover { color: var(--blue); }
.site-header nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.site-header nav a:last-child { border: 1px solid #333; border-radius: 8px; padding: 8px 14px; }
.site-header nav a:last-child[aria-current="page"] { border-color: var(--blue); }

/* Buttons */
.btn { display: inline-block; font: inherit; font-size: .9rem; font-weight: 700; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; padding: 14px 32px; border-radius: 2px; cursor: pointer; transition: background-color .2s, color .2s, filter .2s; }
.btn-white { background: #fff; color: #444; }
.btn-white:hover { background: #e8eef5; }
.btn-outline { background: transparent; color: #333; border: 1px solid #333; padding: 10px 24px; font-weight: 500; font-size: .85rem; }
.btn-outline:hover { background: #333; color: #fff; }
.btn-big { background: #3a3a3a; color: #fff; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); padding: 14px 44px; border-radius: 3px; }
.btn-big:hover { background: #222; }
.btn-plan { display: block; text-align: center; color: #fff; padding: 16px 12px; font-size: .95rem; }
.btn-plan.dark { background: #3a3a3a; } .btn-plan.blue { background: var(--blue); }
.btn-plan:hover { filter: brightness(1.12); }

/* Home hero + cards */
.hero-blue { background: var(--blue); color: #fff; margin: 4px 18px 0; padding: 28px 28px 34px; }
.hero-blue h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; font-weight: 700; max-width: 14em; }
.hero-blue p { margin: 0 0 12px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-blue .btn { margin-top: 18px; }
.speed { margin: 70px auto 60px; padding: 0 18px; text-align: center; font-size: clamp(1.4rem, 3.1vw, 2.2rem); font-weight: 700; color: #333; line-height: 1.25; }
.cards { background: #f2f2f2; padding: 12px; margin: 0 8px; display: grid; gap: 24px; }
.card { display: grid; grid-template-columns: 1fr 1fr; background: #f9fbfa; min-height: 320px; }
.card-text { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.card-text h2 { margin: 0 0 14px; color: var(--blue); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.18; font-weight: 700; }
.card-text p { margin: 0 0 26px; color: var(--grey); font-size: .95rem; line-height: 1.6; letter-spacing: .02em; max-width: 30em; }
.card-img { position: relative; min-height: 220px; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Features */
.features { background: #000; color: #fff; margin-top: 0; padding: 30px 40px 40px; }
.features h2 { margin: 0 0 18px; text-align: center; font-size: 2rem; }
.feat-box { list-style: none; margin: 0 auto; padding: 22px 28px; border: 2px solid #fff; border-radius: 3px; max-width: 1100px; display: grid; gap: 14px; }
.feat-box li { display: flex; align-items: center; gap: 22px; font-size: .95rem; letter-spacing: .02em; }
.chk { flex: 0 0 18px; }
.chk svg { width: 18px; height: 18px; fill: #6abf4b; display: block; }

/* Plans */
.plans { background: #f8f9fb; padding: 70px 10px 50px; }
.plans h2 { margin: 0 0 50px; text-align: center; font-size: 2rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; align-items: start; }
.plan { background: #fff; border: 2px solid #333; padding: 34px 12px 30px; text-align: center; }
.plan-blue { border-color: var(--blue); }
.plan-icon { height: 40px; margin: 0 auto 12px; display: flex; justify-content: center; align-items: center; }
.plan-icon img { height: 40px; width: auto; }
.plan-icon.bld svg { width: 30px; height: 34px; fill: #3a3a3a; }
.plan h3 { margin: 0 0 6px; font-size: 1.35rem; }
.plan .sub { margin: 0 0 20px; color: var(--grey); font-size: .85rem; }
.price { margin: 0 6px; padding: 12px 10px; color: #fff; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 4px; }
.price-dark { background: #2f3035; } .price-blue { background: #347bbb; } .price-black { background: #000; }
.price sup { font-size: .7rem; font-weight: 700; align-self: flex-start; margin-top: 4px; }
.price strong { font-size: 2rem; line-height: 1.1; }
.price em { font-style: normal; font-size: .7rem; }
.price small { flex-basis: 100%; font-size: .7rem; }
.price.lets { padding: 18px 10px; } .price.lets strong { font-size: 2.1rem; }
.users { margin: 28px 0 28px; color: #444; font-size: .9rem; }
.plan.ent .users { margin-top: 38px; }
.remarks { max-width: 1180px; margin: 28px auto 0; padding: 0 4px; }
.remarks h2 { margin: 0 0 8px; text-align: left; font-size: .8rem; }
.remarks p { margin: 0 0 6px; font-size: .78rem; color: #333; }

/* Partners */
.partners { background: #d6d6d6; padding: 60px 20px 70px; text-align: center; }
.partners h2 { margin: 0 0 40px; color: #444; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.logos { max-width: 900px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; gap: 30px; flex-wrap: wrap; }
.logos img { height: 44px; width: auto; }

/* Enterprise */
.hero-black { background: #000; color: #fff; margin: 4px 8px 0; padding: 30px 30px 38px; }
.hero-black h1 { margin: 0 0 20px; font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.25; }
.hero-black p { margin: 0 0 28px; font-size: clamp(1.05rem, 1.9vw, 1.35rem); }
.ent-photo { margin: 8px 16px 8px; }
.ent-photo img { width: 100%; }
.why, .services { margin: 0 8px; padding: 26px 16px 24px; }
.why { background: #f2f2f2; } .services { background: #4d4d4d; color: #fff; }
.why h2, .services h2 { margin: 0 0 10px; font-size: 2rem; }
.why h3, .services h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: .06em; }
.why p, .services p { margin: 0 0 14px; font-size: 1.05rem; letter-spacing: .04em; line-height: 1.55; }
.ent-cta { text-align: center; margin: 36px 0 30px; }
.ent-remarks { margin-bottom: 40px; padding: 0 20px; }

/* Contact */
.contact-main { padding: 6px 20px 60px; }
.contact-card { max-width: 1240px; margin: 0 auto; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.18); padding: 90px 4.5% 90px; min-height: 560px; }
.contact-card h1 { margin: 40px 0 36px; text-align: center; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; color: #222; }
#contact-form { max-width: 900px; margin: 0 auto; }
.frow { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 20px; margin-bottom: 18px; }
.frow label, .msg-label { font-size: 1.15rem; color: #333; }
.req { color: #e00; }
input[type=text], input[type=email], input[type=tel], input:not([type]), textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #222; background: #f9f9f9; border: 1px solid #e3e3e3; border-radius: 4px; padding: 0 16px; height: 52px; }
.frow input { height: 54px; }
textarea { height: 170px; padding: 14px 16px; resize: vertical; display: block; }
.msg-label { display: block; margin: 26px 0 10px; }
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); background: #fff; }
.hp { position: absolute; left: -9999px; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 34px; padding: 0 12px; }
.submit-row p { margin: 0; max-width: 28em; letter-spacing: .06em; line-height: 1.5; color: #333; }
.submit-row a { color: #cc3366; text-decoration: none; }
.submit-row a:hover { text-decoration: underline; }
.submit-row button { font: inherit; font-size: 1.1rem; color: #fff; background: #3b82f6; border: 0; border-radius: 4px; padding: 16px 28px; cursor: pointer; box-shadow: 0 3px 8px rgba(59,130,246,.35); }
.submit-row button:hover { background: #2f6fda; }
.submit-row button:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 18px 0 0; text-align: center; min-height: 1.5em; }
.form-status.ok { color: #1a7f37; } .form-status.err { color: #b42318; }

/* Legal */
.legal-main { background: var(--slate); padding: 64px 20px 70px; }
.doc { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 70px 70px 60px; color: #363a43; font-weight: 300; letter-spacing: .06em; line-height: 2; }
.doc h1 { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0 0 56px 22px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: 0; line-height: 1.2; color: #363a43; }
.mk img { width: 44px; height: 44px; }
.doc hr { border: 0; border-top: 1px solid #363a43; margin: 0 0 10px; }
.updated { margin: 0 0 14px; text-align: right; font-size: .85rem; }
.doc h2 { margin: 18px 0 8px; font-size: 1.1rem; font-weight: 400; color: #2d313a; line-height: 1.8; }
.doc p, .doc li { font-size: .85rem; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 36px; }
.doc li { margin: 0; }
.doc .sub { margin-bottom: 10px; }
.accs { margin-top: 14px; border-top: 0; }
.acc { border-bottom: 1px solid #c9cbd0; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 1.05rem; font-weight: 400; letter-spacing: 0; color: #2d313a; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.8rem; font-weight: 200; line-height: 1; }
.acc[open] summary::after { content: "–"; }
.acc-body { padding: 0 18px 14px; }
.todo { background: #fff6d6; color: #6b5200; padding: 8px 12px; border-radius: 4px; font-weight: 400; letter-spacing: 0; }

/* Footer */
.site-footer { background: #fff; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 36px 20px 40px; font-size: .78rem; color: #666; letter-spacing: .08em; }
.site-footer a { text-decoration: none; letter-spacing: .02em; }
.site-footer a:hover { text-decoration: underline; }

/* Consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; background: #f4f5f5; border-radius: 14px; box-shadow: 0 6px 28px rgba(0,0,0,.22); padding: 18px 22px; text-align: center; color: #333; font-size: .92rem; }
.consent p { margin: 0 0 12px; }
.consent .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.consent button { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 10px 22px; cursor: pointer; }
.consent .rej { background: #5b6770; color: #fff; } .consent .acc-all { background: #3a3a3a; color: #fff; }
.consent a { color: #cc3366; }

/* Tablet / mobile */
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; padding: 12px 16px; }
  .brand img { width: 140px; }
  .site-header nav { gap: 14px; font-size: 1rem; }
  .card { grid-template-columns: 1fr; }
  .card.rev .card-img { order: 0; }
  .card .card-img { min-height: 220px; order: 2; }
  .card.rev .card-text { order: 3; }
  .card-text { padding: 26px 22px; }
  .features { padding: 26px 16px 32px; } .feat-box { padding: 16px; } .feat-box li { gap: 14px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 420px; }
  .speed { margin: 44px auto 36px; }
  .frow { grid-template-columns: 1fr; gap: 6px; }
  .submit-row { flex-direction: column; align-items: flex-start; padding: 0; }
  .contact-card { padding: 40px 18px; }
  .doc { padding: 36px 24px; border-radius: 12px; }
  .doc h1 { padding-left: 0; padding-bottom: 32px; }
  .legal-main { padding: 28px 12px 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
