/* bimcrm.ir: landing, login, sign-up wizard.
   Tokens: deep policy-ink navy, the brand seal green, a cool paper and one amber "stamp" accent.
   Persian is a joined script: never letter-space it. */
:root {
  --ink: #0f1f38;
  --ink-2: #3a4a64;
  --muted: #66738a;
  --paper: #f3f6f7;
  --line: #dde3ea;
  --seal: #0e7c66;
  --seal-deep: #0a5f4f;
  --mint: #e1f2eb;
  --stamp: #f0b429;
  --night: #0c1a30;
  --shadow: 0 1px 2px rgba(15, 31, 56, .06), 0 18px 40px -18px rgba(15, 31, 56, .28);
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.btn-block { width: 100%; padding: .8em 1em; }
.btn-lg { font-size: 17px; padding: .85em 1.8em; border-radius: 12px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); }
.linkish { background: none; border: 0; font: inherit; color: var(--seal); cursor: pointer; padding: 0; text-decoration: underline; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { top: 12px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; line-height: 1.6; padding: 0 .5em; border-radius: 5px; background: #fff3d6; color: #8a5a00; vertical-align: 1px; white-space: nowrap; }

/* ── Top bar ── */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 2rem; height: 66px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 850; font-size: 19px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 22px; height: 26px; background: var(--seal); clip-path: polygon(50% 0, 100% 18%, 100% 60%, 50% 100%, 0 60%, 0 18%); }
.topnav { display: flex; gap: 1.6rem; font-size: 14.5px; flex: 1; }
.topnav a { text-decoration: none; color: var(--ink-2); }
.topnav a:hover { color: var(--seal); }
.topbar-actions { display: flex; align-items: center; gap: 1rem; }
.topbar-login { text-decoration: none; font-size: 14.5px; font-weight: 600; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
  radial-gradient(900px 420px at 15% 0%, rgba(14, 124, 102, .10), transparent 70%),
  linear-gradient(180deg, #fff, var(--paper)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: 14px; font-weight: 700; color: var(--seal-deep); background: var(--mint); padding: .25rem .85rem; border-radius: 999px; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; line-height: 1.28; margin-bottom: .5em; }
.lead { font-size: 17.5px; color: var(--ink-2); max-width: 33em; line-height: 1.95; }

.claim { margin-top: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); max-width: 560px; }
.claim-label { display: block; font-weight: 700; font-size: 14px; margin: 0 4px .5rem; }
.claim-row { display: flex; gap: 10px; }
.claim-input { flex: 1; min-width: 0; display: flex; align-items: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: 11px; padding: 0 12px; }
.claim-input:focus-within { border-color: var(--seal); background: #fff; box-shadow: 0 0 0 4px var(--mint); }
.claim-input input { border: 0; background: transparent; box-shadow: none !important; font-size: 19px; font-weight: 700; padding: .55em 0; color: var(--ink); min-width: 0; flex: 1; direction: ltr; }
.claim-suffix { font-size: 16px; color: var(--muted); white-space: nowrap; direction: ltr; }
.claim-btn { white-space: nowrap; font-size: 16px; padding: .7em 1.3em; border-radius: 11px; }
.claim-status { min-height: 1.6em; margin: .55rem 4px 0; font-size: 13.5px; color: var(--muted); }
.claim-status.ok { color: var(--seal); font-weight: 600; }
.claim-status.bad { color: var(--red); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 1.2rem 4px 0; font-size: 14px; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--seal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; flex: none; }

/* Hero visual: the agent's site + a panel card, overlapped */
.hero-visual { position: relative; padding: 0 0 150px; }
.win-site { margin-inline-end: 40px; }
.win { background: #fff; border: 1px solid #d7dee7; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #eef2f6; border-bottom: 1px solid #dde3ea; direction: ltr; }
.win-bar i, .tg-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd7e1; }
.win-url { margin-left: 10px; flex: 1; background: #fff; border-radius: 7px; padding: 3px 10px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-url b { color: var(--ink); font-weight: 700; }
.ms-nav { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 13px; font-weight: 700; border-bottom: 1px solid #eef1f4; }
.ms-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--seal); }
.ms-nav em { margin-inline-start: auto; font-style: normal; color: var(--seal); border: 1.5px solid var(--seal); border-radius: 99px; padding: 1px 10px; font-size: 12px; }
.ms-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; padding: 22px 16px 26px; background: linear-gradient(180deg, #f0f8f5, #fff); }
.ms-copy strong { display: block; font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.ln { display: block; height: 7px; border-radius: 4px; background: #dfe6ec; margin-bottom: 7px; }
.w90 { width: 90%; } .w70 { width: 70%; }
.ms-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.ms-chips span { font-size: 11.5px; border: 1px solid #d5e2dd; background: #fff; border-radius: 99px; padding: 1px 9px; }
.ms-form { display: grid; gap: 4px; background: #fff; border: 1px solid #e3e9ee; border-radius: 12px; padding: 12px; font-size: 12px; align-content: start; }
.ms-label { color: var(--muted); font-size: 11px; }
.ms-input { border: 1px solid #d9e0e7; border-radius: 7px; padding: 3px 8px; margin-bottom: 4px; }
.ms-btn { background: var(--seal); color: #fff; text-align: center; border-radius: 8px; padding: 5px; font-weight: 700; margin-top: 4px; }
.win-panel { position: absolute; inset-inline-end: 0; bottom: 0; width: min(330px, 78%); padding: 14px 16px 10px; }
.mp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.mp-count { background: var(--ink); color: #fff; border-radius: 99px; min-width: 26px; text-align: center; font-weight: 800; font-size: 13px; }
.mp-list { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.mp-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 7px 0; border-top: 1px solid #eef1f4; }
.mp-list span { font-weight: 700; }
.mp-list em { grid-row: 2; font-style: normal; color: var(--muted); font-size: 11.5px; }
.mp-list b { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 11.5px; color: var(--seal); background: var(--mint); border-radius: 7px; padding: 2px 8px; }
.mp-list b.go { color: #fff; background: var(--seal); }
.stamp { position: absolute; inset-inline-start: 24px; bottom: 26px; width: 108px; height: 108px; border-radius: 50%; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 13px; line-height: 1.3; color: #6b4400; background: var(--stamp); transform: rotate(-12deg); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--stamp), 0 14px 30px -10px rgba(140, 90, 0, .55); }
.stamp span { display: block; font-size: 34px; font-weight: 900; line-height: 1.1; color: var(--ink); }

/* ── Section rhythm ── */
.insurers, .journey, .inventory, .gallery, .howto, .pricing, .faq { padding: 88px 0; }
.sec-head { max-width: 46em; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 900; line-height: 1.4; margin-bottom: .45em; }
.sec-head p { font-size: 16.5px; color: var(--ink-2); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { padding: .32rem 1.7rem .32rem 0; position: relative; }
.ticks li::before { content: ""; position: absolute; right: 2px; top: .95em; width: 11px; height: 6px; border: solid var(--seal); border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg); }

/* Insurers */
.insurers { background: var(--ink); color: #dfe7f1; padding: 64px 0; }
.insurers-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px 56px; align-items: start; }
.insurers h2 { color: #fff; font-size: clamp(22px, 2.5vw, 30px); font-weight: 900; line-height: 1.5; margin: 0; }
.insurers p { grid-column: 1; margin: 0; color: #b9c6d6; }
.insurer-list { grid-column: 2; grid-row: 1 / 3; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.insurer-list li { font-size: 14px; padding: .35rem .9rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }

/* Journey tabs */
.jr { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.jr-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 90px; }
.jr-tabs button { display: flex; align-items: center; gap: 12px; text-align: right; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); background: transparent; border: 0; border-radius: 12px; padding: 11px 12px; cursor: pointer; }
.jr-tabs button b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); }
.jr-tabs button:hover { background: #fff; }
.jr-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.jr-tabs button[aria-selected="true"] b { background: var(--seal); border-color: var(--seal); color: #fff; }
.jr-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; min-height: 400px; }
.jr-panel[hidden] { display: none; }
.jr-panel:not([hidden]) { animation: jr-in .25s ease-out; }
@keyframes jr-in { from { opacity: 0; transform: translateY(6px); } }
.jr-text h3 { font-size: 23px; font-weight: 850; line-height: 1.5; }
.jr-text p { color: var(--ink-2); }
.jr-mock { background: linear-gradient(160deg, var(--mint), #eef3f8); border-radius: 16px; padding: 28px 22px; align-self: stretch; display: grid; align-items: center; }

/* Mock UI pieces */
.mk { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 16px; font-size: 13px; }
.mk-title { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.mk-bar { font-size: 11.5px; color: var(--muted); background: #eef2f6; border-radius: 7px; padding: 3px 10px; margin: -4px -4px 12px; }
.mk-hero { background: var(--ink); color: #fff; border-radius: 10px; padding: 16px; margin-bottom: 10px; }
.mk-hero strong { display: block; font-size: 15px; }
.mk-hero span { font-size: 12px; color: #c4d0de; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-tiles span { border: 1px solid #e3e9ee; border-radius: 8px; padding: 8px 6px; text-align: center; font-size: 11.5px; font-weight: 600; }
.mk-rows { list-style: none; margin: 0; padding: 0; }
.mk-rows li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid #eef1f4; }
.mk-rows span { font-weight: 700; }
.mk-rows em { font-style: normal; color: var(--muted); font-size: 12px; }
.st { font-size: 11.5px; border-radius: 7px; padding: 2px 9px; white-space: nowrap; }
.st.new { background: #fff3d6; color: #8a5a00; }
.st.wip { background: #e6eefb; color: #1f4fa3; }
.st.done { background: var(--mint); color: var(--seal-deep); }
.mk-profile { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.mk-profile em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.mk-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mk-table th, .mk-table td { text-align: right; padding: 8px 4px; border-top: 1px solid #eef1f4; font-weight: 400; }
.mk-table th { font-weight: 700; }
.mk-table td:last-child { color: var(--muted); }
.mk-phone { max-width: 270px; justify-self: center; width: 100%; border-radius: 24px; padding: 20px 14px; background: #f7f9fb; border: 6px solid var(--ink); }
.sms { background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 12.5px; line-height: 1.9; box-shadow: 0 1px 2px rgba(0,0,0,.05); margin-bottom: 10px; }
.sms small { display: block; color: var(--seal); font-weight: 700; }
.sms.me { background: var(--seal); color: #fff; border-radius: 14px 14px 4px 14px; margin-inline-start: 30%; }
.mk-steps { list-style: none; counter-reset: k; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0; margin: 10px 0; }
.mk-steps li { counter-increment: k; text-align: center; font-size: 11.5px; color: var(--muted); padding-top: 34px; position: relative; }
.mk-steps li::before { content: counter(k, persian); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef1f4; font-weight: 800; }
.mk-steps li.done::before { background: var(--seal); color: #fff; content: "✓"; }
.mk-steps li.now { color: var(--ink); font-weight: 700; }
.mk-steps li.now::before { background: var(--stamp); color: var(--ink); }
.mk-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-kpis div { background: var(--paper); border-radius: 10px; padding: 8px 10px; }
.mk-kpis em { display: block; font-style: normal; color: var(--muted); font-size: 11.5px; }
.mk-kpis strong { font-size: 20px; font-weight: 900; }
.mk-kpis small { display: block; font-size: 10.5px; color: var(--muted); }
.mk-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 14px; }
.mk-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--seal), #5fb9a3); }

/* Inventory */
.inventory { background: #fff; border-block: 1px solid var(--line); }
.inv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.inv-col { padding: 22px 22px 6px; border-inline-start: 1px solid var(--line); }
.inv-col:first-child { border-inline-start: 0; padding-inline-start: 0; }
.inv-col h3 { font-size: 17px; font-weight: 850; margin-bottom: .8rem; }
.inv-col ul { list-style: none; margin: 0; padding: 0; }
.inv-col li { padding: .5rem 0; border-bottom: 1px dashed #e2e7ed; font-size: 14.5px; color: var(--ink-2); }
.inv-col li:last-child { border-bottom: 0; }

/* Template gallery */
.tg { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.tg-picker { display: flex; flex-direction: column; gap: 8px; }
.tg-pick { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; text-align: right; font: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; color: var(--ink); }
.tg-pick:hover { border-color: color-mix(in srgb, var(--tpl) 50%, var(--line)); }
.tg-pick[aria-selected="true"] { border-color: var(--tpl); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tpl) 18%, transparent); }
.tg-dot { grid-row: 1 / 4; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--tpl); }
.tg-name { font-weight: 850; font-size: 16px; }
.tg-desc { font-size: 13.5px; color: var(--ink-2); }
.tg-for { font-size: 12.5px; color: var(--muted); }
.tg-stage { background: #fff; border: 1px solid #d7dee7; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.tg-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f6; border-bottom: 1px solid #dde3ea; direction: ltr; font-size: 13px; color: var(--muted); }
.tg-bar span { margin-left: 10px; background: #fff; border-radius: 7px; padding: 2px 12px; }
.tg-open { margin-left: auto; direction: rtl; color: var(--seal); font-weight: 700; text-decoration: none; }
.tg-screen { position: relative; height: 520px; overflow: hidden; background: #fff; }
.tg-screen iframe { position: absolute; top: 0; right: 0; width: 1280px; height: 820px; border: 0; transform-origin: top right; transform: scale(.6); pointer-events: none; }

/* Steps */
.how-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.how-steps li { counter-increment: s; position: relative; padding: 60px 0 0 24px; display: flex; flex-direction: column; gap: .3rem; color: var(--ink-2); }
.how-steps li::before { content: counter(s, persian); position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; z-index: 1; }
.how-steps li::after { content: ""; position: absolute; top: 21px; right: 44px; left: 0; border-top: 2px dashed #c9d3de; }
.how-steps li:last-child::after { display: none; }
.how-steps li:last-child::before { background: var(--seal); }
.addr { display: inline-block; }
.how-steps strong { font-size: 17px; color: var(--ink); }

/* Free trial */
.trial { background: var(--seal); color: #e6f6f0; padding: 56px 0; }
.trial-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.trial-seal { width: 132px; height: 132px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--stamp); color: var(--ink); transform: rotate(-10deg); box-shadow: 0 0 0 6px var(--seal), 0 0 0 8px var(--stamp); }
.trial-seal strong { font-size: 46px; font-weight: 900; line-height: 1; }
.trial-seal span { font-weight: 800; }
.trial h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.5; }
.trial p { margin: 0; max-width: 40em; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.plan { background: var(--ink); color: #dfe7f1; border-radius: 22px; padding: 32px; position: sticky; top: 90px; }
.plan h3 { color: #fff; font-size: 20px; margin-bottom: .2em; }
.plan-desc { color: #b9c6d6; font-size: 14.5px; }
.plan-price { margin: 1.2rem 0 0; color: #fff; }
.plan-price strong { font-size: 44px; font-weight: 900; }
.plan-year { color: #b9c6d6; font-size: 14px; }
.plan .ticks { margin-bottom: 1.6rem; }
.plan .ticks li::before { border-color: #6fd6b8; }
.price-extras h3 { font-size: 18px; font-weight: 850; margin: 0 0 .6rem; }
.addon-list, .tier-list { list-style: none; margin: 0 0 2rem; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.addon-list li, .tier-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 14px 18px; border-top: 1px solid var(--line); }
.addon-list li:first-child, .tier-list li:first-child { border-top: 0; }
.addon-list strong { display: block; }
.addon-list span { font-size: 13.5px; color: var(--muted); }
.addon-list em, .tier-list em { font-style: normal; white-space: nowrap; font-size: 14px; color: var(--ink-2); }
.addon-list em b { font-size: 16px; color: var(--ink); }

/* FAQ */
.faq { background: #fff; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; }
.faq h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 900; line-height: 1.45; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 750; font-size: 16.5px; padding: 18px 0 18px 36px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; left: 6px; top: 50%; width: 10px; height: 10px; border: solid var(--seal); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); margin: -4px 0 18px; max-width: 46em; }

/* Closing */
.closing { padding: 96px 0; background: radial-gradient(700px 300px at 50% 100%, rgba(14, 124, 102, .25), transparent 70%), var(--night); color: #c9d5e3; text-align: center; }
.closing h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; }
.closing p { margin-bottom: 2rem; }

/* Footer */
.site-footer { background: var(--night); color: #9fb0c4; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-grid .brand { color: #fff; margin-bottom: .8rem; }
.footer-grid h2 { font-size: 14.5px; color: #fff; margin-bottom: .7rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: .35rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-base { padding-bottom: 22px; font-size: 13px; }
.footer-base::before { content: ""; display: block; border-top: 1px solid rgba(255, 255, 255, .08); margin-bottom: 18px; }

/* ── Auth and wizard pages ── */
.narrow { max-width: 460px; margin: 56px auto 72px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.narrow.wide { max-width: 760px; }
.narrow h1 { font-size: 26px; font-weight: 900; }
.narrow .claim-status { color: var(--muted); }
.narrow .claim-status.ok { color: var(--seal); }
.narrow .claim-status.bad { color: var(--red); }
.resend { margin-top: 1rem; text-align: center; font-size: 14px; }
.workspace-list { list-style: none; padding: 0; }
.workspace-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--line); background: #fff; border-radius: 12px; margin-bottom: .6rem; text-decoration: none; }
.workspace-list a:hover { border-color: var(--seal); }
.wizard-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 2rem; font-size: 13px; }
.wizard-steps li { flex: 1; padding-top: .6rem; border-top: 3px solid var(--line); color: var(--muted); }
.wizard-steps li.current { border-color: var(--seal); color: var(--ink); font-weight: 700; }
.wizard-steps li.done { border-color: #9fd3c5; }
.tpl-pick { border: 0; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.tpl-option { display: grid; grid-template-columns: auto 96px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; }
.tpl-option:has(input:checked) { border-color: var(--tpl); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tpl) 20%, transparent); }
.actions { display: flex; gap: .6rem; justify-content: flex-end; }
.plan-block { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 16px 18px; margin: 0 0 1rem; }
.plan-block legend { font-weight: 700; padding: 0 .4rem; }
.h3 { font-size: 18px; margin: 0; }
.pill { display: inline-flex; gap: .4rem; align-items: center; margin-inline-end: 1.2rem; }
.option-rows { display: grid; }
.option-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: .55rem 0; border-bottom: 1px solid #eef1f5; cursor: pointer; }
.option-row:last-child { border-bottom: 0; }
.option-row input.qty { width: 64px; padding: .3em .4em; }
.price-cell { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.total-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.optional { color: var(--muted); font-weight: 400; font-size: 12px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .jr { grid-template-columns: 1fr; }
  .jr-tabs { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .jr-tabs button { flex: none; }
  .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-col:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .tg { grid-template-columns: 1fr; }
  .tg-picker { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .tg-pick { flex: 0 0 230px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topnav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .insurers-inner, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .insurers p, .insurer-list { grid-column: 1; grid-row: auto; }
  .hero-visual { max-width: 520px; }
  .jr-panel { grid-template-columns: 1fr; padding: 22px; min-height: 0; }
  .how-steps { grid-template-columns: 1fr; gap: 26px; }
  .how-steps li { padding: 0 60px 0 0; }
  .how-steps li::after { display: none; }
  .trial-inner { grid-template-columns: 1fr; justify-items: start; gap: 24px; }
  .plan { position: static; }
  .insurers, .journey, .inventory, .gallery, .howto, .pricing, .faq { padding: 60px 0; }
  .tpl-option { grid-template-columns: auto 72px 1fr; }
  .tpl-option a { grid-column: 3; }
  .narrow { margin: 24px 12px 48px; padding: 22px; }
}
@media (max-width: 560px) {
  .claim-row { flex-direction: column; }
  .claim-input input { font-size: 17px; }
  .inv-grid { grid-template-columns: 1fr; }
  .inv-col { border-inline-start: 0; padding-inline-start: 0; padding-inline-end: 0; }
  .ms-body { grid-template-columns: 1fr; }
  .ms-form { display: none; }
  .stamp { width: 84px; height: 84px; font-size: 11px; bottom: auto; top: -26px; inset-inline-start: auto; inset-inline-end: -4px; }
  .stamp span { font-size: 26px; }
  .win-site { margin-inline-end: 0; }
  .hero-visual { padding-bottom: 130px; }
  .footer-grid { grid-template-columns: 1fr; }
  .addon-list li { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .topbar-login { display: none; }
}
.footer-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.footer-badges img { max-height: 90px; background: #fff; border-radius: 8px; padding: 4px; }
