/* ARTMED Shop — brand: ARTMED blue (#087bff / #1554c0), Geist. */
:root {
  --blue: #087bff;
  --blue-d: #1554c0;
  --blue-50: #edf4ff;
  --blue-100: #dceaff;
  --ink: #0b1b36;
  --ink-2: #263a5c;
  --muted: #5b6b85;
  --line: #e3e9f1;
  --line-2: #edf1f7;
  --bg: #ffffff;
  --bg-alt: #f6f9fd;
  --green: #0f9f6e;
  --green-50: #e8f8f1;
  --amber: #b7791f;
  --amber-50: #fff6e5;
  --red: #d63b4a;
  --red-50: #fdecee;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 90, .06), 0 2px 8px rgba(15, 42, 90, .04);
  --shadow: 0 10px 30px -12px rgba(15, 42, 90, .18), 0 2px 6px rgba(15, 42, 90, .05);
  --shadow-lg: 0 30px 60px -20px rgba(15, 42, 90, .28);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(8, 123, 255, .45); outline-offset: 2px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.ico { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; color: #fff; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%); color: #fff; box-shadow: 0 10px 24px -10px rgba(8, 123, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(8, 123, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #142a52; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c8d6ea; color: var(--ink); background: var(--bg-alt); }
.btn-wa { background: #16a34a; color: #fff; }
.btn-wa:hover { background: #12873d; color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 42, 90, .35); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-word { font-weight: 800; letter-spacing: .08em; font-size: 17px; }
.brand-pill { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 2px 8px; border-radius: 999px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang:hover { color: var(--ink); border-color: #c8d6ea; }
.lang .ico { width: 16px; height: 16px; }
.menu-btn { display: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }

/* hero */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 480px at 85% -10%, rgba(8, 123, 255, .16), transparent 60%),
  radial-gradient(700px 420px at -10% 30%, rgba(34, 211, 238, .10), transparent 60%),
  linear-gradient(180deg, #f7faff 0%, #fff 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(21, 84, 192, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 84, 192, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue-d); background: #fff; border: 1px solid var(--blue-100); padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(8, 123, 255, .5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(8, 123, 255, .5); } 70% { box-shadow: 0 0 0 10px rgba(8, 123, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(8, 123, 255, 0); } }
.hero h1 { font-size: clamp(34px, 4.3vw, 56px); font-weight: 800; letter-spacing: -.035em; margin: 22px 0 18px; }
.grad { background: linear-gradient(100deg, var(--blue) 0%, var(--blue-d) 55%, #4f46e5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.trust .ico { color: var(--blue); width: 20px; height: 20px; padding: 0; }

.hero-art { position: relative; display: grid; grid-template-columns: 1.85fr 1fr; gap: 16px; align-items: center; padding-bottom: 26px; }
.hero-tile { min-width: 0; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); animation: float 7s ease-in-out infinite; }
.hero-tile img { border-radius: 14px; width: 100%; }
.hero-tile-cap { display: flex; flex-direction: column; gap: 1px; padding: 10px 6px 4px; font-size: 13px; line-height: 1.35; }
.hero-tile-cap span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tile-cap b { color: var(--blue-d); white-space: nowrap; }
.hero-tile-0 { grid-row: 1 / span 2; }
.hero-tile-1 { animation-delay: -2.3s; }
.hero-tile-2 { animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-badge { position: absolute; left: -14px; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.hero-badge > .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: #fff; background: var(--green); }
.hero-badge b { display: block; font-size: 14px; }
.hero-badge small { color: var(--muted); font-size: 12.5px; }

/* sections */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-alt); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); font-weight: 500; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.03em; }
.sub { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* chips + grid */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 8px; }
.chip em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--bg-alt); border-radius: 999px; padding: 1px 8px; }
.chip:hover { border-color: #c8d6ea; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on em { background: rgba(255, 255, 255, .16); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .25s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4e1f1; }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; background: #f8fbff; border-bottom: 1px solid var(--line-2); aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.tag-pop { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.card-body { padding: 20px 22px 6px; flex: 1; }
.card-cat { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-d); margin-bottom: 8px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue-d); }
.card-body p { color: var(--muted); font-size: 14.5px; }
.card-meta { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.card-meta .ico { width: 15px; height: 15px; color: var(--blue); }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #b6c3d6; margin: 0 4px; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 16px 22px 20px; }
.card-foot small { display: block; font-size: 12px; color: var(--muted); }
.card-foot strong { font-size: 19px; letter-spacing: -.02em; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; font-family: var(--mono); font-weight: 500; margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(8, 123, 255, .8); }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-item { background: #fff; padding: 30px 28px; }
.why-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-d); margin-bottom: 16px; }
.why-ico .ico { width: 22px; height: 22px; }
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 14.5px; }
.pay-band { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 26px 28px; border-radius: var(--radius); background: linear-gradient(135deg, #f3f8ff, #fff); border: 1px solid var(--blue-100); }
.pay-band h3 { font-size: 18px; margin-bottom: 4px; }
.pay-band p { color: var(--muted); font-size: 14.5px; }
.pay-list, .sum-pay, .ftr-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-list span, .sum-pay span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cfe0f6; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: absolute; right: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--blue-d); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* cta */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; background: radial-gradient(600px 300px at 90% 0%, rgba(8, 123, 255, .55), transparent 60%), linear-gradient(135deg, #0b1b36 0%, #12306a 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.2vw, 38px); }
.cta p { color: rgba(255, 255, 255, .78); margin-top: 10px; max-width: 520px; }
.cta-act { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .16); }

/* footer */
.ftr { background: #0a1730; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; margin-top: 0; font-size: 14.5px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.ftr .brand { color: #fff; margin-bottom: 14px; }
.ftr .brand-pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #9cc7ff; }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px; }
.ftr a { color: rgba(255, 255, 255, .72); display: block; padding: 3px 0; }
.ftr a:hover { color: #fff; }
.ftr-co { margin-top: 14px; }
.ftr-co a { display: inline; }
.ftr-pay span { font-size: 12px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 7px; padding: 4px 8px; color: rgba(255, 255, 255, .8); }
.ftr-sec { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #9cc7ff; font-weight: 600; }
.ftr-bot { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); padding-top: 22px; padding-bottom: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-d); }
.crumbs b { color: var(--ink); font-weight: 600; }
.crumbs span { color: #b6c3d6; }

/* product */
.pd { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding-top: 18px; padding-bottom: 48px; align-items: start; }
.pd-media { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #f8fbff; box-shadow: var(--shadow); }
.pd-img { width: 100%; }
.pd-buy h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; margin: 6px 0 12px; }
.pd-price { margin: 26px 0 20px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, #f3f8ff, #fff); border: 1px solid var(--blue-100); }
.pd-price small { display: block; color: var(--muted); font-size: 13px; }
.pd-price strong { display: block; font-size: 34px; letter-spacing: -.03em; margin: 2px 0; }
.pd-price span { color: var(--blue-d); font-weight: 600; font-size: 14px; }
.pd-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; }
.pd-facts div { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.pd-facts .ico { color: var(--blue); margin-bottom: 6px; }
.pd-facts dt { font-size: 12px; color: var(--muted); }
.pd-facts dd { margin: 0; font-weight: 700; }
.pd-assure { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.pd-assure li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.pd-assure .ico { color: var(--green); margin-top: 2px; }
.pd-detail { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding-bottom: 80px; align-items: start; }
.pd-block { padding: 32px 0; border-top: 1px solid var(--line); }
.pd-block h2 { font-size: 24px; margin-bottom: 18px; }
.pd-sum { font-size: 17.5px; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue-d); margin-top: 1px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 34%; color: var(--muted); font-weight: 500; background: var(--bg-alt); }
.specs thead th { background: var(--bg-alt); color: var(--ink-2); font-weight: 600; width: auto; }
.r { text-align: right !important; }
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.phases li { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.phases span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-family: var(--mono); margin-bottom: 10px; }
.phases b { display: block; font-size: 14.5px; line-height: 1.35; }
.pd-side { position: sticky; top: 92px; display: grid; gap: 16px; padding-top: 32px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.side-card h3 { font-size: 16px; margin-bottom: 8px; }
.side-card p { color: var(--muted); font-size: 14.5px; }
.side-act { display: grid; gap: 10px; margin-top: 16px; }
.side-act .btn { width: 100%; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.buybar { display: none; }

/* checkout */
.co { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding-top: 18px; padding-bottom: 90px; align-items: start; }
.co-form h1 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.03em; }
.co-form > .muted { display: flex; align-items: center; gap: 8px; margin: 10px 0 24px; }
.co-form > .muted .ico { color: var(--blue); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 700; padding: 0 8px; margin-left: -8px; }
.f { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.f b { color: var(--red); }
.f input, .f textarea { display: block; width: 100%; margin-top: 7px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #d5dfec; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.f textarea { resize: vertical; min-height: 100px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 123, 255, .14); }
.f input[aria-invalid='true'] { border-color: var(--red); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-row .f { margin-bottom: 4px; }
.f-hint { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.f-err { display: flex; align-items: center; gap: 6px; color: var(--red); font-size: 13.5px; font-weight: 500; margin: -6px 0 14px; }
.f-err .ico { width: 16px; height: 16px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan > span { display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; transition: all .15s; height: 100%; }
.plan b { display: block; font-size: 14px; }
.plan strong { display: block; font-size: 20px; letter-spacing: -.02em; margin: 4px 0; }
.plan small { color: var(--muted); font-size: 12.5px; }
.plan input:checked + span { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(8, 123, 255, .12); }
.plan input:focus-visible + span { outline: 3px solid rgba(8, 123, 255, .45); outline-offset: 2px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); margin: 6px 0 18px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.secure { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }
.secure .ico { color: var(--green); width: 16px; height: 16px; }
.alert { display: flex; gap: 10px; align-items: flex-start; background: var(--red-50); color: #9f1d2b; border: 1px solid #f6c9ce; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-size: 14.5px; }
.co-sum { position: sticky; top: 92px; }
.sum-card { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: #fff; box-shadow: var(--shadow); }
.sum-card h2 { font-size: 18px; margin-bottom: 16px; }
.sum-prod { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.sum-prod img { border-radius: 12px; border: 1px solid var(--line-2); }
.sum-prod b { display: block; line-height: 1.3; }
.sum-prod small { color: var(--muted); font-size: 12.5px; }
.sum-lines { margin: 16px 0; display: grid; gap: 10px; }
.sum-lines div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.sum-lines dt { color: var(--muted); }
.sum-lines dd { margin: 0; font-weight: 600; }
.sum-total { padding-top: 14px; border-top: 1px dashed var(--line); }
.sum-total dt { color: var(--ink) !important; font-weight: 700; }
.sum-total dd { font-size: 22px; letter-spacing: -.02em; color: var(--blue-d); }
.sum-card .pd-assure { padding-top: 16px; border-top: 1px solid var(--line-2); }
.sum-pay { margin-top: 18px; }
.sum-pay span { font-size: 11.5px; padding: 4px 8px; }

/* order */
.ord { padding-top: 34px; padding-bottom: 90px; }
.ord-hero { display: flex; gap: 22px; align-items: flex-start; border-radius: 24px; padding: 30px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); margin-bottom: 26px; }
.ord-hero h1 { font-size: clamp(26px, 3vw, 34px); margin: 2px 0 8px; }
.ord-hero p { color: var(--muted); max-width: 640px; }
.ord-ico { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--blue-50); color: var(--blue-d); }
.ord-ico .ico { width: 30px; height: 30px; }
.st-paid .ord-ico, .st-awaiting_contact .ord-ico { background: var(--green-50); color: var(--green); }
.st-expired .ord-ico, .st-failed .ord-ico { background: var(--red-50); color: var(--red); }
.st-review .ord-ico, .st-pending_payment .ord-ico { background: var(--amber-50); color: var(--amber); }
.ord-live { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.ord-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ord-act form { margin: 0; }
.ord-grid { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.ord-side { display: grid; gap: 16px; }
.inv { border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: #fff; }
.inv-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 22px; flex-wrap: wrap; }
.inv-co { text-align: right; }
.inv-co b { display: block; }
.inv-co small { color: var(--muted); }
.inv h2 { font-size: 20px; margin-bottom: 16px; }
.inv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0 0 24px; }
.inv-meta dt { font-size: 12.5px; color: var(--muted); }
.inv-meta dd { margin: 2px 0 0; font-weight: 600; }
.inv-meta small { font-weight: 400; color: var(--muted); }
.inv-lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.inv-lines th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }
.inv-lines td { padding: 14px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.inv-lines td small { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.inv-lines tfoot td { color: var(--muted); border-bottom: 0; padding: 10px 0 0; }
.inv-total td { color: var(--ink) !important; font-weight: 800; font-size: 19px; padding-top: 14px !important; }
.inv-notes { margin-top: 20px; padding: 14px 16px; background: var(--bg-alt); border-radius: 12px; font-size: 14px; color: var(--ink-2); white-space: pre-wrap; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-d); }
.pill.st-paid, .pill.st-awaiting_contact { background: var(--green-50); color: var(--green); }
.pill.st-expired, .pill.st-failed { background: var(--red-50); color: var(--red); }
.pill.st-pending_payment, .pill.st-review { background: var(--amber-50); color: var(--amber); }
.mini-steps { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; counter-reset: ms; }
.mini-steps li { position: relative; padding-left: 38px; counter-increment: ms; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-family: var(--mono); background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); }
.mini-steps li.done::before { content: '✓'; background: var(--green); border-color: var(--green); color: #fff; }
.mini-steps b { display: block; font-size: 14.5px; }
.mini-steps small { color: var(--muted); font-size: 13px; line-height: 1.45; display: block; }

/* legal, 404, admin */
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 90px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p { color: var(--ink-2); }
.legal .muted { margin-top: 40px; color: var(--muted); }
.nf { padding-top: 110px; padding-bottom: 130px; text-align: center; }
.nf h1 { font-size: 40px; margin-bottom: 12px; }
.nf .lead { margin: 0 auto 28px; }
.adm { padding-top: 32px; padding-bottom: 80px; }
.adm h1 { margin-bottom: 6px; }
.adm > .muted { margin-bottom: 20px; }
.adm-table { overflow-x: auto; }
.adm-table td, .adm-table th { font-size: 14px; white-space: nowrap; }
.adm-table small { color: var(--muted); }
.adm-detail { margin-bottom: 20px; }
.adm-detail h4 { margin: 14px 0 8px; }
.adm-ev { margin: 0; padding-left: 20px; font-size: 14px; }

/* responsive */
@media (max-width: 1080px) {
  .grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 640px; width: 100%; margin: 0 auto; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--shadow); margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none; }
  .pd, .pd-detail, .co, .ord-grid, .faq-wrap { grid-template-columns: 1fr; }
  .pd { gap: 28px; }
  .pd-side, .co-sum { position: static; }
  .co-sum { order: -1; }
  .phases { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .buybar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
  .buybar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .buybar small { display: block; font-size: 12px; color: var(--muted); max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar strong { font-size: 17px; }
  body.product .ftr { padding-bottom: 96px; }
  .sec { padding: 72px 0; }
  .cta { padding: 36px 26px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid, .grid-3, .steps, .why, .plans, .f-row, .inv-meta { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  .hero-art { gap: 10px; padding-bottom: 40px; }
  .hero-tile-cap { font-size: 11px; padding: 6px 2px 0; }
  .hero-tile { padding: 6px; border-radius: 16px; }
  .hero-badge { left: 0; bottom: 0; padding: 10px 12px; }
  .lead { font-size: 16.5px; }
  .pd-facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .pd-facts div { padding: 10px; }
  .ord-hero { flex-direction: column; padding: 22px; }
  .inv { padding: 20px; }
  .inv-co { text-align: left; }
  .ftr-grid { grid-template-columns: 1fr; }
  .cta-act, .cta-act .btn, .hero-cta .btn { width: 100%; }
  .card-foot strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* print: a clean invoice */
@media print {
  .hdr, .ftr, .ord-side, .ord-act, .ord-live, .buybar, .skip { display: none !important; }
  body { font-size: 12pt; }
  .ord { padding: 0; }
  .ord-hero { box-shadow: none; border: 0; padding: 0 0 12px; }
  .ord-ico { display: none; }
  .ord-grid { display: block; }
  .inv { border: 0; padding: 0; }
}
