/* Loomly landing page: night-navy brand style (see sales/brand/loomly.css). */
:root {
  --navy: #0c0223; --navy-2: #150a35; --panel: #1b1040; --line: #2e2360;
  --violet: #5b46fa; --purple: #9537bf; --grad: linear-gradient(90deg, #9537bf, #5b46fa);
  --fg: #f3f0ff; --muted: #a59dd0; --violet-hi: #8f7dff; --good: #3fd896; --crit: #ff5f7e;
  --display: "Sora", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--navy); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--violet-hi); }
img { max-width: 100%; display: block; }
b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; }

.glow { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.glow i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(100px); }
.glow i:nth-child(1) { background: var(--violet); opacity: .28; left: -30vmax; top: -35vmax; }
.glow i:nth-child(2) { background: var(--purple); opacity: .22; right: -35vmax; bottom: -40vmax; }
main, .nav, .footer { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: clamp(64px, 9vw, 110px); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-hi); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 800; max-width: 820px; }
.section-lede { color: var(--muted); margin-top: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.card { background: rgba(27, 16, 64, .82); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 17px; color: #fff; background: var(--grad); border: 0; border-radius: 999px; padding: 15px 28px; text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px rgba(91, 70, 250, .35); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(91, 70, 250, .5); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); box-shadow: none; color: var(--fg); }
.btn-ghost:hover { border-color: var(--violet-hi); box-shadow: none; }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px max(24px, calc((100vw - 1180px) / 2 + 24px)); background: rgba(12, 2, 35, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(46, 35, 96, .6); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img:last-child { width: auto; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-slots { font-size: 14px; color: var(--muted); }
.nav-slots::before { content: ""; display: inline-block; vertical-align: 1px; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(63, 216, 150, .18); }
.nav-slots b { color: var(--fg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: clamp(40px, 7vw, 90px); }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: #d9d3f5; margin-top: 22px; max-width: 560px; }
.lede b { color: var(--fg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slots { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 15px; color: var(--muted); flex-wrap: wrap; }
.slots b { color: var(--fg); }
.dots { display: flex; gap: 6px; }
.dots i { width: 16px; height: 16px; border-radius: 5px; background: var(--grad); }
.dots i.taken { background: var(--line); }
.hero-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; border: 1.5px solid var(--line); aspect-ratio: 4 / 3.4; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.price-badge { position: absolute; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; background: var(--grad); border-radius: 20px; padding: 14px 20px 16px; box-shadow: 0 16px 40px rgba(12, 2, 35, .55); }
.price-badge .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.price-badge .amt { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1.05; letter-spacing: -.03em; }
.price-badge .amt small { font-size: 17px; font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.price-badge .keep { font-family: var(--display); font-weight: 600; font-size: 16px; border-top: 1.5px solid rgba(255, 255, 255, .3); margin-top: 8px; padding-top: 8px; }
.price-badge .keep b { font-weight: 800; }

/* Deal */
.deal { display: grid; grid-template-columns: 1.2fr 1.2fr .9fr; gap: 20px; margin-top: 36px; }
.deal h3, .plan-tag { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-hi); margin-bottom: 16px; }
.card-us { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #d9d3f5; }
.checks li b { color: var(--fg); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat, var(--grad); }
.muted-checks li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23a59dd0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat, var(--line); }
.card-revenue { background: linear-gradient(160deg, rgba(149, 55, 191, .35), rgba(91, 70, 250, .25)); border-color: rgba(143, 125, 255, .45); display: flex; flex-direction: column; justify-content: center; }
.card-revenue h3 { margin-bottom: 6px; }
.card-revenue .big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 12px; }
.card-revenue p:last-child { color: #d9d3f5; }
.coin { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 26px; margin-bottom: 18px; }

/* App */
.app { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.app-list { margin-top: 28px; }
.phone { justify-self: center; width: 290px; padding: 12px; border-radius: 46px; background: #000; border: 2px solid #3a3160; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 8px rgba(91, 70, 250, .12); }
.phone-screen { border-radius: 36px; background: #fff; color: #0c0223; padding: 26px 14px 18px; font-size: 13px; display: grid; gap: 10px; }
.ph-top { font-weight: 600; font-size: 15px; padding: 4px 4px 2px; }
.ph-tabs { display: flex; gap: 6px; }
.ph-tabs i { font-style: normal; font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: #0c0223; color: #fff; }
.ph-tabs i.on { background: #5b46fa; }
.ph-card { border: 1.5px solid #9537bf; border-radius: 14px; padding: 10px 12px; display: grid; gap: 3px; }
.ph-card b { font-family: var(--display); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.ph-card b em { font-style: normal; font-size: 11px; background: #fff1d6; color: #b07a00; border-radius: 8px; padding: 1px 7px; }
.ph-card small { color: #6c6596; font-size: 11px; }
.ph-card .ok { color: #2e9e5b; font-size: 12px; }
.ph-card .ok::before { content: "✓"; display: inline-flex; width: 14px; height: 14px; margin-right: 6px; border-radius: 50%; background: #2e9e5b; color: #fff; font-size: 9px; align-items: center; justify-content: center; }
.ph-row { display: flex; align-items: center; gap: 10px; padding-top: 8px; }
.ph-row i { width: 22px; height: 30px; border-radius: 5px; flex: none; }
.ph-row span { flex: 1; font-weight: 600; display: grid; }
.ph-row u { text-decoration: none; font-size: 10px; color: #b07a00; background: #fff1d6; border-radius: 999px; padding: 3px 8px; }
.ph-row u.out { color: #d64560; background: #ffe5ea; }

/* Steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); border: 1.5px solid var(--line); background: rgba(21, 10, 53, .6); }
.steps span { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; background: var(--grad); margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin-top: 36px; align-items: start; }
.plan { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -.03em; line-height: 1; }
.plan-price small { font-size: 20px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-note { color: var(--muted); margin: 8px 0 24px; }
.plan-required { margin-top: 26px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.plan-required .plan-tag { margin-bottom: 10px; }
.payter-price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.promo-note { color: var(--good); font-size: 14px; margin-top: 6px; }
.promo-inline { color: var(--good); font-weight: 600; }
.hero-promo { display: inline-block; margin-top: 24px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(63, 216, 150, .45); background: rgba(63, 216, 150, .1); font-size: 15px; color: #d9f7ea; }
.hero-promo::before { content: ""; display: inline-block; vertical-align: 1px; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.hero-promo b { color: var(--good); }
.opt-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.options { display: grid; gap: 14px; }
.options > .plan-tag { margin-bottom: 0; }
.opt-list { display: grid; gap: 14px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; }
.opt h3 { font-size: 19px; margin-bottom: 4px; }
.opt p { color: var(--muted); font-size: 16px; }
.opt-price { font-family: var(--display); font-weight: 800; font-size: 26px; white-space: nowrap; text-align: right; color: var(--fg) !important; }
.opt-price small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.calc-inputs { display: grid; gap: 26px; }
.calc-inputs label { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; font-weight: 600; }
.calc-inputs input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--violet); }
.calc-inputs output { font-family: var(--display); font-weight: 700; color: var(--violet-hi); grid-row: 1; grid-column: 2; }
.calc-check { display: flex !important; gap: 10px; }
.calc-check input { width: 20px; height: 20px; accent-color: var(--violet); }
.calc-line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: #d9d3f5; }
.calc-line b { font-family: var(--display); color: var(--fg); white-space: nowrap; }
.calc-line.total { border-bottom: 0; padding-top: 16px; font-size: 20px; font-weight: 600; color: var(--fg); }
.calc-line.total b { font-size: 34px; letter-spacing: -.02em; }
.calc-line.total b.neg { color: var(--crit); }
.calc-note { margin-top: 10px; color: var(--fg); }
.calc-fine { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Terms */
.terms { margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.terms li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); color: #d9d3f5; }
.terms li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.terms b { color: var(--fg); }

/* FAQ */
.faq { margin-top: 30px; display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1.5px solid var(--line); border-radius: 18px; background: rgba(21, 10, 53, .6); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet-hi); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: #d9d3f5; }

/* Signup */
.signup { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.signup-intro > p:not(.eyebrow) { color: #d9d3f5; margin-top: 16px; }
.summary { margin-top: 28px; }
.summary .plan-tag { margin-bottom: 6px; }
.form { display: grid; gap: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: 15px; }
.opt-label { color: var(--muted); font-weight: 400; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; color: var(--fg); background: var(--navy-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet-hi); box-shadow: 0 0 0 3px rgba(143, 125, 255, .2); }
.form [aria-invalid=true] { border-color: var(--crit) !important; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.form-options { display: grid; gap: 10px; }
.form-opt { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 12px !important; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500 !important; }
.form-opt:has(input:checked) { border-color: var(--violet-hi); background: rgba(91, 70, 250, .12); }
.form-opt input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.form-opt span { flex: 1; }
.form-opt em { font-style: normal; color: var(--muted); font-size: 14px; white-space: nowrap; }
.consent { display: flex !important; align-items: flex-start; gap: 12px !important; font-weight: 400 !important; color: #d9d3f5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--crit); font-weight: 600; }
.form-done { text-align: center; padding: 48px 32px; grid-column: 2; }
.form-done .coin { margin: 0 auto 18px; }
.form-done h3 { font-size: 26px; margin-bottom: 10px; }
.form-done p { color: #d9d3f5; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 80px; padding-bottom: 48px; color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
  .hero, .pricing, .calc, .signup, .app { grid-template-columns: 1fr; }
  .deal { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: 1fr; }
  .form-done { grid-column: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .nav-slots { display: none; }
  .steps, .grid2 { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .opt { flex-direction: column; align-items: flex-start; }
  .opt-price { text-align: left; }
  .opt-price small { display: inline; margin-left: 6px; }
  .price-badge .amt { font-size: 34px; }
  .hero-photo { aspect-ratio: 4 / 3.6; }
  .form-opt { flex-wrap: wrap; }
}
