/* Inter (OFL), self-hosted: no requests to Google from visitors' browsers */
@font-face {
  font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens from the plugin UI (Figma «App» frames) */
:root {
  --text: #16181d;
  --muted: #858897;
  --blue: #406dea;
  --blue-1: #4d84f8;
  --line: #e2e6ec;
  --bg: #f4f6fa;
  --bg-1: #fbfcff;
  --bg-2: #f1f3f7;
  --card: #ffffff;
  --card-85: rgba(255, 255, 255, 0.85);
  --ok-bg: rgba(243, 253, 248, 0.86);
  --ok-line: rgba(184, 229, 203, 0.75);
  --err: #df3028;
  --grad: linear-gradient(90deg, var(--blue-1), var(--blue));
  --shadow-soft: 0 8px 20px rgba(64, 74, 94, 0.08);
  --shadow-app: 0 30px 70px rgba(63, 71, 89, 0.2);
  --shadow-btn: 0 12px 12px rgba(30, 105, 240, 0.3);
  --r: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-1);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
img { max-width: 100%; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border: 0; border-radius: 15px;
  background: var(--grad); color: #fff; font: 600 15px/1 Inter, sans-serif;
  box-shadow: var(--shadow-btn); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 14px 18px rgba(30, 105, 240, 0.35); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; border-radius: 12px; box-shadow: 0 5px 6px rgba(31, 108, 243, 0.25); }
.btn-light { background: #fff; color: var(--blue); box-shadow: 0 12px 24px rgba(10, 30, 90, 0.25); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 252, 255, 0.82); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(226, 230, 236, 0.7);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 16px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-sm { font-size: 14px; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a:not(.btn) { color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(130deg, var(--bg-1) 8%, var(--bg-2) 92%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.pill {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--blue); background: rgba(64, 109, 234, 0.08); border: 1px solid rgba(64, 109, 234, 0.18);
}
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; font-weight: 800; margin: 20px 0 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #4a4e5c; max-width: 540px; margin: 0 0 28px; }

/* Forms */
.join { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.join input[type=email] { flex: 1 1 240px; }
input[type=email], textarea {
  height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; font: 400 15px Inter, sans-serif; color: var(--text);
  box-shadow: inset 0 1px 2px rgba(77, 87, 105, 0.04), 0 4px 6px rgba(67, 77, 96, 0.04);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; padding: 14px 16px; resize: vertical; width: 100%; }
input[type=email]:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(64, 109, 234, 0.12); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.form-msg { flex-basis: 100%; margin: 0; font-size: 14px; font-weight: 600; min-height: 0; }
.form-msg.ok { color: #1f8a52; }
.form-msg.err { color: var(--err); }

/* Hero art */
.hero-art { position: relative; height: 560px; }
.app-shot {
  position: absolute; right: 0; top: 0; width: 320px; height: auto;
  border: 6px solid #fff; border-radius: 34px; box-shadow: var(--shadow-app); background: var(--bg-2);
  -webkit-mask-image: linear-gradient(#000 50%, transparent 76%); mask-image: linear-gradient(#000 50%, transparent 76%);
}
.grid-art {
  position: absolute; left: 0; top: 90px; width: 300px; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; transform: rotate(-4deg);
}
.b {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  aspect-ratio: 1 / 1; padding: 14px; border-radius: 14px; color: #fff; overflow: hidden;
  box-shadow: 0 14px 30px rgba(40, 52, 80, 0.18);
}
.b i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; align-self: flex-start; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.22); }
.b b { font-size: 17px; line-height: 1.1; font-weight: 800; hyphens: manual; overflow-wrap: anywhere; }
.b u { text-decoration: none; align-self: flex-start; font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #fff; color: #1d2333; }
.b1 { background: linear-gradient(140deg, #ff8a3d, #ff4f6d); }
.b2 { background: linear-gradient(140deg, #ff7a45, #e8456b); }
.b3 { background: linear-gradient(140deg, #ff9a4d, #f2556a); }
.b4 { background: linear-gradient(140deg, #ff8640, #ec4a6f); }
.b5 { background: linear-gradient(140deg, #ff934a, #ef5168); }
.b6 { background: linear-gradient(140deg, #ff7f3f, #e64a70); }
.b2 b { font-size: 15px; }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.strip strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.strip span { font-size: 14px; color: var(--muted); }
.strip-in { grid-template-columns: 1.4fr 1fr 1fr; }
.proof span { max-width: 380px; display: block; }

/* Sections */
section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.15; }
.sub { color: var(--muted); font-size: 17px; margin: 10px 0 40px; }
.how, .features, .faq, .contact { padding: 96px 0; }
.features { background: linear-gradient(130deg, var(--bg-1) 8%, var(--bg-2) 92%); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 5px 6px rgba(31, 108, 243, 0.25);
}
.steps h3, .card h3 { font-size: 19px; margin: 16px 0 8px; }
.steps p, .card p { margin: 0; color: #555a68; font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card-85); border: 1px solid #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow-soft); }
.ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(64, 109, 234, 0.1); color: var(--blue); font-weight: 700; font-size: 18px;
}

/* Coming soon: auto-resize */
.soon { padding: 96px 0; background: #fff; border-top: 1px solid var(--line); }
.soon-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.soon-copy p { color: #555a68; font-size: 16px; margin: 14px 0 0; }
.soon-copy h2 { margin-top: 16px; }
.soon-copy .btn { margin-top: 28px; }
.pill-soon { color: #b5590b; background: rgba(255, 145, 61, 0.12); border-color: rgba(255, 145, 61, 0.35); }
.soon-art { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; }
.soon-art .arrow { font-size: 28px; color: var(--blue); font-weight: 700; }
.soon-art .tag {
  position: absolute; left: 8px; bottom: -22px; font-size: 11px; font-weight: 600; color: var(--muted);
  white-space: nowrap; font-style: normal;
}
.m, .o {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; color: #fff;
  border-radius: 12px; background: linear-gradient(140deg, #ff8a3d, #ff4f6d); box-shadow: 0 14px 30px rgba(40, 52, 80, 0.16);
}
.m { width: 170px; height: 170px; padding: 18px; }
.m b { font-size: 22px; line-height: 1.05; font-weight: 800; }
.m small { font-size: 11px; opacity: .9; }
.m u, .o u { text-decoration: none; align-self: flex-start; font-size: 10px; font-weight: 700; padding: 5px 9px; border-radius: 7px; background: #fff; color: #1d2333; }
.outs { position: relative; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 34px 16px; align-items: start; }
.o b { font-size: 14px; font-weight: 800; line-height: 1.05; }
.o small { font-size: 9px; opacity: .9; }
.o-lb { grid-column: 1 / 3; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; max-width: 260px; height: 34px; padding: 0 10px; border-radius: 6px; }
.o-lb b { font-size: 12px; } .o-lb u { align-self: center; font-size: 8px; padding: 3px 7px; }
.o-mr { width: 132px; height: 110px; padding: 12px; }
.o-st { width: 72px; height: 128px; padding: 10px 8px; justify-content: space-between; }
.o-st b { font-size: 12px; } .o-st small { font-size: 8px; } .o-st u { font-size: 8px; padding: 3px 6px; }
@media (max-width: 960px) { .soon-in { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .soon { padding: 64px 0; }
  .soon-art { grid-template-columns: 1fr; justify-items: start; gap: 30px; }
  .soon-art .arrow { transform: rotate(90deg); justify-self: start; margin-left: 70px; }
}

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: #555a68; }

/* CTA */
.cta { background: var(--grad); color: #fff; }
.cta-in { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.cta p { opacity: .9; margin: 12px 0 28px; font-size: 17px; }
.join-center { margin: 0 auto; justify-content: center; }
.cta input[type=email] { border-color: transparent; }
.cta .form-msg.ok, .cta .form-msg.err { color: #fff; }

/* Contact */
.contact-form { display: grid; gap: 12px; }
.contact-form input[type=email] { width: 100%; }
.contact-form .btn { justify-self: start; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: #fff; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--muted); }
.muted { color: var(--muted); font-size: 13px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: 40px; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #3d414d; font-size: 16px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { height: 480px; max-width: 560px; width: 100%; margin: 0 auto; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .lead { font-size: 16px; }
  .hero-art { height: 420px; }
  .app-shot { width: 230px; border-radius: 26px; }
  .grid-art { width: 200px; top: 70px; gap: 8px; }
  .b { padding: 10px; border-radius: 10px; }
  .b b { font-size: 13px; } .b2 b { font-size: 11px; }
  .b u { font-size: 9px; padding: 4px 7px; }
  .strip-in, .cards, .steps { grid-template-columns: 1fr; }
  .how, .features, .faq, .contact { padding: 64px 0; }
  .join .btn { flex: 1 1 100%; }
}
