/* ==========================================================================
   GoTo.now design system — bit.ly-inspired: deep navy, action blue, warm
   orange wordmark, generous type, soft cards.
   ========================================================================== */
:root {
  --navy: #031f39;
  --navy-2: #0a2b4e;
  --navy-3: #123a63;
  --blue: #2a5bd7;
  --blue-dark: #1f47ab;
  --orange: #ee6123;
  --lav: #dbe0ff;
  --ink: #031f39;
  --ink-soft: #3e5670;
  --line: #e3e8f0;
  --bg-soft: #f4f6fb;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(3, 31, 57, .10);
  --maxw: 1200px;
}

/* Metrics-matched fallback: renders in Arial with Inter's metrics while the
   webfont loads, so the swap causes no layout shift (CLS). */
@font-face {
  font-family: 'Inter-fallback';
  src: local('Arial');
  ascent-override: 96.88%;
  descent-override: 24.15%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.bi { display: inline-block; width: 1em; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Inter', 'Inter-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
#main-content:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; border-radius: 10px; padding: 11px 20px; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: all .15s ease; white-space: nowrap; }
.btn-lg { padding: 15px 28px; font-size: 17px; border-radius: 12px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--lav); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: #eef2ff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #d4531b; }

/* ----- Announce bar ----- */
.announce-bar { background: var(--lav); color: var(--navy); text-align: center; font-size: 14px; padding: 8px 14px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.announce-bar a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.announce-close { background: none; border: 0; cursor: pointer; color: inherit; font-size: 13px; padding: 4px 8px; border-radius: 8px; margin-left: 6px; }
.announce-close:hover { background: rgba(3,31,57,.08); }
.announce-pill { background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; border-radius: 5px; padding: 2px 8px; }

/* ----- Header ----- */
.site-header { background: var(--navy); color: #fff; position: relative; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.logo { font-size: 30px; font-weight: 900; letter-spacing: -0.03em; text-decoration: none !important; line-height: 1; display: inline-flex; align-items: center; }
.logo-mark { flex: 0 0 auto; border-radius: 8px; margin-right: 6px; }

/* ----- Breadcrumb bar (site-wide, flush under the top nav) ----- */
.crumb-bar { background: var(--navy); }
.crumb-bar nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 12px 0 2px; font-size: 13.5px; }
.crumb-bar a { color: #c9d6e6; text-decoration: none; font-weight: 600; }
.crumb-bar a:hover { color: #fff; text-decoration: underline; }
.crumb-bar .crumb-sep { color: var(--orange); font-size: 15px; line-height: 1; }
.crumb-bar .crumb-current { color: #8fa6bd; font-weight: 600; }
/* white pages: the bar still reads as part of the nav, so give the page body room */
.crumb-bar + .section, .crumb-bar ~ main .section:first-child { padding-top: 42px; }
.logo-goto { color: var(--orange); position: relative; top: -1px; }
.logo-now { color: #fff; position: relative; top: -1px; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; align-items: center; }
.main-nav li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button { color: #fff; font-size: 15.5px; font-weight: 600; background: none; border: 0; padding: 10px 14px; border-radius: 8px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover { background: rgba(255,255,255,.09); text-decoration: none; }
.main-nav .bi-chevron-down { font-size: 11px; transition: transform .18s; transform: rotate(-90deg); }
.has-menu.open .bi-chevron-down { transform: rotate(0deg); }

.menu-panel { position: absolute; top: calc(100% + 10px); left: 0; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(3,31,57,.25); padding: 20px; display: none; min-width: 300px; opacity: 0; transform: translateY(6px); }
/* invisible bridge so the pointer can travel from button to panel without closing it */
.menu-panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
/* caret */
.menu-panel::after { content: ""; position: absolute; top: -6px; left: 34px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.has-menu.open .menu-panel { display: flex; gap: 8px; flex-wrap: wrap; animation: menuIn .16s ease forwards; }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.menu-wide { min-width: 640px; }
.menu-3col { min-width: 780px; }
.menu-col { min-width: 205px; flex: 1; padding: 0 12px; }
.menu-col + .menu-col { border-left: 1px solid var(--line); }
.menu-footer { flex-basis: 100%; margin-top: 14px; border-top: 1px solid var(--line); padding: 12px 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.menu-footer a { font-weight: 700; font-size: 13.5px; color: var(--blue); }
.menu-footer span { font-size: 12.5px; color: #8296ac; font-weight: 600; }
.menu-right { left: auto; right: 0; }
.menu-right::after { left: auto; right: 34px; }
.menu-heading { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8296ac; margin: 0 0 8px 8px; }
.menu-panel a.menu-item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none !important; }
.menu-panel a.menu-item:hover { background: var(--bg-soft); }
.menu-panel a.menu-item span { color: var(--ink); }
.menu-item i { color: var(--orange); font-size: 17px; margin-top: 0; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; background: #fdeadd; display: flex; align-items: center; justify-content: center; }
.menu-item strong { display: block; font-size: 14.5px; color: var(--ink); }
.menu-item small { color: var(--ink-soft); font-size: 12.5px; display: block; line-height: 1.4; }
.menu-panel .menu-see-all { color: var(--blue); }
.menu-panel a.menu-item.slim { padding: 7px 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.menu-panel a.menu-item.slim i { margin-top: 0; font-size: 15px; width: 30px; height: 30px; border-radius: 8px; }
.menu-see-all { display: block; margin: 10px 0 0 10px; font-weight: 700; font-size: 13.5px; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-link-plain { color: #fff; font-weight: 600; font-size: 15.5px; text-decoration: none; padding: 8px 6px; }
.nav-link-plain:hover { text-decoration: underline; color: #fff; }
.mobile-toggle { display: none; background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; }
.mobile-menu { background: var(--navy-2); padding: 12px 0 24px; }
.mobile-menu a, .mobile-menu summary { display: block; color: #fff; padding: 11px 22px; font-weight: 600; text-decoration: none; cursor: pointer; }
.mobile-menu details a { padding-left: 38px; font-weight: 500; opacity: .9; }
.mobile-menu summary { list-style: none; position: relative; padding-right: 46px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: translateY(-60%) rotate(-45deg); transition: transform .18s; }
.mobile-menu details[open] > summary::after { transform: translateY(-70%) rotate(45deg); }

/* ----- Flash ----- */
.flash-wrap { max-width: var(--maxw); margin: 14px auto 0; padding: 0 22px; }
.flash { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; border-radius: 10px; padding: 11px 16px; margin-bottom: 8px; font-weight: 600; font-size: 14.5px; }

/* ----- Hero (home) ----- */
.hero { background: var(--navy); color: #fff; padding: 64px 0 120px; position: relative; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); text-align: center; max-width: 900px; margin: 0 auto 22px; font-weight: 900; }
.hero .hero-sub { text-align: center; max-width: 820px; margin: 0 auto; font-size: clamp(16px, 2vw, 20px); color: #c9d6e6; }
.hero-sparkle { position: absolute; opacity: .25; color: #6d87a8; font-size: 42px; }

/* Shorten card */
.shorten-wrap { max-width: 1000px; margin: 46px auto -240px; position: relative; z-index: 5; padding: 0 22px; }
.tool-tabs { display: flex; gap: 8px; justify-content: center; }
.tool-tab { display: inline-flex; align-items: center; gap: 10px; background: var(--navy-3); color: #fff; border: 0; font-family: inherit; font-weight: 800; font-size: 17px; padding: 16px 30px; border-radius: 16px 16px 0 0; cursor: pointer; }
.tool-tab i { color: var(--orange); font-size: 20px; }
.tool-tab.active { background: #fff; color: var(--navy); }
.tool-card { background: #fff; color: var(--ink); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); padding: 38px 40px 34px; }
.tool-card h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 6px; }
.tool-card .muted { color: var(--ink-soft); margin-bottom: 22px; }
.tool-card label { display: block; font-weight: 700; margin: 16px 0 8px; font-size: 15.5px; }
.tool-card label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); margin-right: 8px; vertical-align: 1px; }
.input, .tool-card input[type="text"], .tool-card input[type="url"], .tool-card input[type="email"], .tool-card input[type="password"], .tool-card select {
  width: 100%; border: 1.5px solid #b9c6d8; border-radius: 10px; padding: 14px 16px; font-size: 16.5px; font-family: inherit; color: var(--ink);
}
.input:focus { border-color: var(--blue); }
.shorten-row { display: flex; gap: 12px; margin-top: 8px; }
.shorten-row .input { flex: 1; }
.trust-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--ink-soft); font-size: 14.5px; flex-wrap: wrap; }
.trust-row .stars { color: #f59e0b; letter-spacing: 2px; }

/* Result box */
.result-box { background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 12px; padding: 18px 20px; margin-top: 20px; }
.result-box .short { font-size: 20px; font-weight: 800; color: var(--navy); word-break: break-all; }
.result-box .orig { color: var(--ink-soft); font-size: 13.5px; word-break: break-all; margin-top: 2px; }
.result-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.result-actions .btn { padding: 8px 14px; font-size: 14px; }

/* ----- Sections ----- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 14px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 5px; background: var(--orange); border-radius: 3px; margin: 14px auto 0; }
.section-head p { color: var(--ink-soft); font-size: 18px; }
.section-navy .section-head p { color: #c9d6e6; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; position: relative; }
/* whole card is clickable when it carries a primary link */
.card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.card-link):hover { border-color: var(--blue); }
.card:has(.card-link):hover .card-link { text-decoration: underline; }
.card .card-icon, .card-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(160deg, #fdeadd 0%, #fbd9c0 100%); color: var(--orange); border: 1.5px solid rgba(3, 31, 57, .14); box-shadow: inset 0 -3px 0 rgba(238, 97, 35, .18); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.card:hover .card-icon { background: var(--orange); color: #fff; border-color: var(--orange); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 15px; }
.card-img { width: 100%; border-radius: 14px; margin-bottom: 18px; aspect-ratio: 16/10; object-fit: cover; background: var(--bg-soft); }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band .num { font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: var(--orange); }
.stats-band .lbl { color: #c9d6e6; font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* Testimonials */
.quote-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); }
.quote-card .q { font-size: 16.5px; font-weight: 500; color: var(--ink); }
.quote-card .who { margin-top: 16px; font-weight: 700; }
.quote-card .who small { display: block; color: var(--ink-soft); font-weight: 500; }
.quote-card .stars { color: #f59e0b; margin-bottom: 12px; letter-spacing: 2px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq summary { font-weight: 700; font-size: 16.5px; padding: 18px 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 20px 18px; color: var(--ink-soft); }

/* ----- Page hero (inner pages) ----- */
.page-hero { background: var(--navy); color: #fff; padding: 40px 0 64px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); max-width: 850px; }
.page-hero p.sub { max-width: 760px; margin-top: 16px; font-size: 18px; color: #c9d6e6; }
.page-hero .btn { margin-top: 26px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero-grid img { border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,.35); }

/* Prose (blog + legal) */
.prose { max-width: 780px; margin: 0 auto; font-size: 17px; }
.prose h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 20px; }
.prose h2 { font-size: 26px; margin: 38px 0 14px; }
.prose > h2::before, .article-main h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); margin-right: 10px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; color: #24425f; }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: #24425f; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--orange); padding: 8px 18px; background: var(--bg-soft); border-radius: 0 10px 10px 0; margin: 0 0 18px; }
.prose code { background: var(--bg-soft); border-radius: 6px; padding: 2px 7px; font-size: 90%; }
.prose pre { background: var(--navy); color: #dbe6f3; padding: 18px 20px; border-radius: 12px; overflow-x: auto; margin: 0 0 18px; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-soft); }
.prose img { border-radius: 12px; }

/* Article layout: main + right sidebar */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article-main { max-width: 780px; }
.article-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.side-box.side-cta { background: var(--bg-soft); }
.side-title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8296ac; margin-bottom: 12px; }
.side-item { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.side-item:last-child { border-bottom: 0; padding-bottom: 0; }
.side-item strong { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.side-item:hover strong { color: var(--blue); }
.side-item small { color: #8296ac; font-size: 12.5px; }

/* Jump-to box */
.toc-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 0 0 26px; }
.toc-title { font-weight: 800; font-size: 14px; margin-bottom: 8px; color: var(--navy); }
.toc-title i { color: var(--orange); margin-right: 6px; }
.toc-box ol { margin: 0 0 0 20px; }
.toc-box li { margin: 4px 0; font-size: 15px; }
.toc-box a { font-weight: 600; }

/* Read next */
.read-next { margin-top: 34px; }
.read-next-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8296ac; margin-bottom: 10px; }
.read-next-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 22px 26px; text-decoration: none !important; }
.read-next-card strong { display: block; font-size: 17px; color: #fff; }
.read-next-card small { display: block; color: #c9d6e6; margin-top: 4px; font-size: 13.5px; }
.read-next-card i { font-size: 28px; color: var(--orange); flex: 0 0 auto; }
.read-next-card:hover strong { text-decoration: underline; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover { border-color: var(--blue); }
.post-card:hover h3 a { text-decoration: underline; }
.post-card .post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 18px; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.post-card .post-date { color: #8296ac; font-size: 13px; margin-top: 14px; font-weight: 600; }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 42px; }
.post-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-hero { width: 100%; border-radius: 14px; margin-bottom: 24px; display: block; }

/* Help center */
.help-search { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 14px 20px; max-width: 560px; margin: 26px auto 0; }
.help-search i { color: var(--orange); font-size: 18px; }
.help-search input { border: 0; outline: none; font-family: inherit; font-size: 16px; width: 100%; }
.help-links a { display: block; padding: 7px 0; font-weight: 600; font-size: 14.5px; border-bottom: 1px solid var(--bg-soft); }
.help-links a:last-child { border-bottom: 0; }

/* Blog pager */
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none !important; padding: 0 10px; }
.pager-num:hover { border-color: var(--blue); color: var(--blue); }
.pager-current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.plan .plan-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 4px 14px; border-radius: 8px; }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 44px; font-weight: 900; margin: 12px 0 2px; }
.plan .period { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.plan .tagline { color: var(--ink-soft); margin-bottom: 20px; min-height: 48px; }
.plan ul { list-style: none; margin: 0 0 26px; flex: 1; }
.plan li { padding: 7px 0 7px 30px; position: relative; font-size: 15px; }
.plan li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: #16a34a; font-size: 17px; }

/* Solution deep-dive sections */
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat-tile { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; }
.stat-tile .num { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; color: var(--blue); line-height: 1.1; margin-bottom: 8px; }
.stat-tile p { color: var(--ink-soft); font-size: 15px; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.feature-split img { border-radius: var(--radius-lg); }
.feature-split.flip .feature-copy { order: 2; }
.feature-split.flip img { order: 1; }
.feature-copy h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.feature-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; }
.check-list { list-style: none; margin: 0 0 22px; }
.check-list li { padding: 6px 0 6px 32px; position: relative; font-size: 15.5px; font-weight: 500; }
.check-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--orange); font-size: 18px; }

/* Tables (dashboard) */
.table-wrap { overflow-x: auto; }
table.links { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(3,31,57,.06); }
table.links th { background: var(--navy); color: #fff; text-align: left; padding: 13px 16px; font-size: 13.5px; letter-spacing: .04em; }
table.links td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; word-break: break-all; }
table.links tr:last-child td { border-bottom: 0; }

/* Product showcase tabs (homepage) */
.ptabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.ptab { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-family: inherit; font-weight: 700; font-size: 15px; padding: 11px 22px; border-radius: 10px; cursor: pointer; }
.ptab i { color: var(--orange); }
.ptab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.ptab.active i { color: var(--orange); }
.ind-card { text-decoration: none !important; display: block; }
.ind-card h3, .ind-card p { color: var(--ink); }
.ind-card p { color: var(--ink-soft); }
.check-list-light li { color: #e6edf5; }
.check-list-light li::before { color: var(--orange); }

/* Shift-up expandable product cards (homepage, bitly-style) */
.xcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.xcard { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; height: 680px; transition: transform .3s ease; }
.xcard:hover { transform: translateY(-6px); }
.xcard-media { position: absolute; top: 20px; left: 20px; right: 20px; height: 280px; z-index: 1; }
.xcard-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
/* card anchored to the bottom: growing content pushes it UP over the media */
.xcard-body { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 22px; box-shadow: 0 6px 22px rgba(3, 31, 57, .07); }
.xcard-head { display: flex; align-items: center; gap: 14px; width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; padding: 0; }
.xcard-head .xcard-icon { width: 56px; height: 56px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.xcard-head .xcard-icon img { width: 54px; height: 54px; object-fit: contain; }
.xcard-head h3 { font-size: 22px; color: var(--ink); flex: 1; }
.xcard-arrow { color: var(--navy); font-size: 24px; font-weight: 700; transition: transform .35s ease; }
.xcard.active .xcard-arrow { transform: rotate(180deg); }
.xcard-desc { color: var(--ink-soft); font-size: 15px; margin-top: 12px; }
.xcard-extra { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s ease, opacity .35s ease, margin-top .5s ease; }
.xcard.active .xcard-extra { max-height: 460px; opacity: 1; margin-top: 12px; }
.xcard-extra .extra-label { font-weight: 800; font-size: 15.5px; color: var(--ink); margin: 6px 0 4px; }
.xcard-extra .check-list li { font-size: 14.5px; padding: 5px 0 5px 30px; }
.xcard-extra .btn { width: 100%; margin-top: 8px; }
@media (max-width: 860px) {
  .xcards { grid-template-columns: 1fr; }
  .xcard { height: auto; }
  .xcard-media { position: static; height: auto; padding: 20px 20px 0; }
  .xcard-media img { height: 220px; }
  .xcard-body { position: static; margin: 12px; }
}

/* Stats dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin: 30px 0 18px; }
.dash-short a { font-size: 21px; font-weight: 800; color: var(--navy); }
.dash-dest { color: var(--ink-soft); font-size: 14px; word-break: break-all; margin-top: 4px; }
.dash-meta { color: #8296ac; font-size: 13px; margin-top: 2px; }
.dash-actions { display: flex; gap: 8px; }
.kpi-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.kpi-num { font-size: clamp(19px, 2.2vw, 27px); font-weight: 900; color: var(--blue); line-height: 1.15; }
.kpi:first-child { background: var(--navy); border-color: var(--navy); }
.kpi:first-child .kpi-num { color: var(--orange); }
.kpi:first-child .kpi-lbl { color: #c9d6e6; }
.kpi-lbl { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; margin-top: 3px; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 18px; }
.chart-card h2 { font-size: 16px; margin-bottom: 14px; color: var(--navy); border-left: 4px solid var(--blue); padding-left: 10px; }
.chart-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chart-note { font-size: 12.5px; color: #8296ac; font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hbar-row { display: grid; grid-template-columns: 128px 1fr 52px; align-items: center; gap: 10px; padding: 5px 0; }
.hbar-label { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { display: block; background: #eef1f6; border-radius: 4px; height: 12px; overflow: hidden; }
.hbar-fill { display: block; background: var(--blue); height: 100%; border-radius: 4px; min-width: 2px; }
.hbar-val { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } .dash-grid { grid-template-columns: 1fr; } }

/* Tool pages */
.tool-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.qr-preview { background: linear-gradient(135deg, #eef2ff 0%, #fdeadd 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; min-height: 380px; padding: 26px; }
.qr-preview .bi-qr-code { color: var(--orange) !important; opacity: .75; }
.qr-preview img { max-width: 320px; border-radius: 12px; background: #fff; padding: 12px; }
.color-row { display: flex; gap: 16px; }
.color-row > div { flex: 1; }
input[type="color"] { width: 100%; height: 46px; border: 1.5px solid #b9c6d8; border-radius: 10px; padding: 4px; background: #fff; cursor: pointer; }

/* Code block on developer page */
.code-sample { background: #0a2540; color: #d7e4f5; border-radius: 14px; padding: 22px 24px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.7; white-space: pre; }

/* Auth */
.auth-wrap { max-width: 460px; margin: 60px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow); }
.auth-wrap h1 { font-size: 26px; margin-bottom: 6px; }
.auth-wrap .muted { color: var(--ink-soft); margin-bottom: 22px; }
.auth-tabs { display: flex; background: var(--bg-soft); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button { flex: 1; border: 0; background: none; font-family: inherit; font-weight: 700; font-size: 15px; padding: 10px; border-radius: 8px; cursor: pointer; color: var(--ink-soft); }
.auth-tabs button.active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(3,31,57,.12); }

/* Google sign-in button (official colors) */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background: #fff; border: 1.5px solid #dadce0; color: #3c4043; font-weight: 700; font-size: 15.5px; border-radius: 10px; padding: 13px 18px; text-decoration: none !important; }
.btn-google:hover { background: #f8faff; border-color: #4285F4; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; color: #8296ac; font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Footer */
.site-footer { background: var(--navy); color: #c9d6e6; margin-top: 90px; }
.footer-cta { text-align: center; padding: 70px 0 54px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; }
.footer-cta p { max-width: 640px; margin: 0 auto 26px; font-size: 17px; }
.footer-cta .btn { margin: 0 6px 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 34px; padding: 56px 0 40px; }
.footer-col a { display: block; color: #c9d6e6; padding: 5px 0; font-size: 14.5px; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-heading { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f09a6b; margin-bottom: 10px; }
.footer-brand p { font-size: 14.5px; margin: 14px 0 18px; max-width: 260px; }
/* .footer-col a shrinks links to 14.5px - Restore the wordmark size beside the 30px mark */
.footer-brand a.logo { font-size: 27px; padding: 0; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.footer-social a:hover { background: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: #c9d6e6; }

/* Spot illustration icons + stat tiles */
.spot-icon { width: 96px; height: 96px; object-fit: contain; margin-bottom: 16px; }
.stat-spots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-spot { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 26px; }
.stat-spot img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 16px; }
.stat-spot .num { font-size: clamp(34px, 4vw, 52px); font-weight: 900; color: var(--navy); line-height: 1.05; }
.stat-spot .lbl { color: var(--ink-soft); font-weight: 600; margin-top: 6px; }
@media (max-width: 860px) { .stat-spots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stat-spots { grid-template-columns: 1fr; } }
.xcard-head .xcard-icon img { width: 38px; height: 38px; object-fit: contain; }

/* App dashboard shell (bitly-style) */
.appshell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; max-width: var(--maxw); margin: 0 auto; padding: 30px 22px 60px; align-items: start; }
.app-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 14px; position: sticky; top: 20px; display: flex; flex-direction: column; gap: 4px; }
.app-create { width: 100%; margin-bottom: 12px; }
.app-nav { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none !important; }
.app-nav i { color: var(--orange); font-size: 16px; width: 20px; text-align: center; }
.app-nav:hover { background: var(--bg-soft); }
.app-nav.active { background: #e8edff; color: var(--blue); }
.app-nav.active i { color: var(--blue); }
.app-side-foot { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.app-main { min-width: 0; }
.app-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.app-topbar h1 { font-size: 26px; }
.link-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.link-row:last-child { border-bottom: 0; }
.link-row-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(160deg, #fdeadd 0%, #fbd9c0 100%); border: 1.5px solid rgba(3,31,57,.12); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.link-row-short { font-weight: 800; font-size: 15.5px; color: var(--navy); word-break: break-all; }
.link-row-dest { color: var(--ink-soft); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-row-meta { color: #8296ac; font-size: 12.5px; margin-top: 2px; }
.clicks-chip { display: inline-flex; align-items: center; gap: 6px; background: #e8edff; color: var(--blue); font-weight: 800; font-size: 13.5px; border-radius: 8px; padding: 6px 12px; white-space: nowrap; text-decoration: none !important; }
.clicks-chip-muted { background: var(--bg-soft); color: var(--ink-soft); font-weight: 700; }
.link-row-actions { display: flex; gap: 6px; }
.link-row-actions .btn { padding: 7px 10px; font-size: 14px; }
.btn-danger-ghost { color: #b91c1c !important; border-color: #fca5a5 !important; }
@media (max-width: 960px) {
  .appshell { grid-template-columns: 1fr; }
  .app-side { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .app-side nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .app-create { width: auto; margin-bottom: 0; margin-right: 8px; }
  .app-side-foot { border-top: 0; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: 10px; }
  .link-row { grid-template-columns: 40px minmax(0,1fr); }
  .link-row-clicks, .link-row-actions { grid-column: 2; }
}

/* Dashboard quick-create + checklist */
.qc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.qc-tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none !important; }
.qc-tile:hover { border-color: var(--blue); }
.qc-tile strong { display: block; color: var(--ink); font-size: 15.5px; }
.qc-tile small { color: var(--ink-soft); font-size: 12.5px; }
.qc-ico { width: 44px; height: 44px; border-radius: 12px; background: #e8edff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 21px; flex: 0 0 auto; }
.qc-ico-orange { background: #fdeadd; color: var(--orange); }
.qc-ico-teal { background: #ddf3ef; color: #0f8577; }
.gs-bar { height: 8px; background: #eef1f6; border-radius: 5px; overflow: hidden; margin: 4px 0 14px; }
.gs-bar span { display: block; height: 100%; background: var(--blue); border-radius: 5px; }
.gs-list { list-style: none; margin: 0; }
.gs-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 600; font-size: 14.5px; }
.gs-list li i { color: #b9c6d8; font-size: 17px; }
.gs-list li.gs-done i { color: #16a34a; }
.gs-list li.gs-done span { color: #8296ac; text-decoration: line-through; }
@media (max-width: 860px) { .qc-row { grid-template-columns: 1fr; } }

/* Bitly-style console */
.console { display: grid; grid-template-columns: 230px minmax(0, 1fr); max-width: 1380px; margin: 0 auto; min-height: 72vh; }
.con-side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; }
.con-create { width: 100%; margin-bottom: 14px; background: var(--navy); }
.con-create:hover { background: #0a2b4e; }
.con-nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none !important; margin-bottom: 2px; }
.con-nav i { font-size: 16px; width: 20px; text-align: center; color: var(--ink-soft); }
.con-nav:hover { background: var(--bg-soft); }
.con-nav.active { background: #e8edff; color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
.con-nav.active i { color: var(--blue); }
.con-divider { border-top: 1px solid var(--line); margin: 12px 4px; }
.con-main { padding: 18px 26px 60px; background: var(--bg-soft); }
.con-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 0 18px; }
.con-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; flex: 1; max-width: 420px; }
.con-search input { border: 0; outline: none; font-family: inherit; font-size: 14.5px; width: 100%; background: none; }
.con-search i { color: #8296ac; }
.con-search-inline { flex: 0 1 320px; }
.con-top-right { display: flex; align-items: center; gap: 12px; }
.con-plan { background: #ddf3ef; color: #0f8577; font-weight: 800; font-size: 12px; border-radius: 8px; padding: 5px 12px; }
.con-iconbtn { color: var(--ink-soft); font-size: 18px; text-decoration: none !important; }
.con-iconbtn:hover { color: var(--navy); }
.con-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.con-user { font-weight: 700; font-size: 14px; }
.con-pills { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.con-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 22px; font-family: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--ink); }
.con-pill.active { border-color: var(--navy); box-shadow: 0 2px 8px rgba(3,31,57,.10); }
.con-pill i { color: var(--orange); }
.con-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.con-strip { background: #e6f7f4; color: #0d6d61; border-radius: 10px; padding: 10px 16px; font-size: 13.5px; font-weight: 600; margin-top: 14px; }
.con-strip i { margin-right: 6px; }
.con-chip { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: 13.5px; color: var(--ink); text-decoration: none !important; margin-top: 10px; }
.con-chip:hover { box-shadow: 0 2px 8px rgba(3,31,57,.12); }
.con-chip i { color: var(--blue); }
.usage-row { margin-bottom: 12px; }
.usage-head { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.usage-head span:last-child { color: var(--ink-soft); font-weight: 600; }
.con-filters { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.con-end { text-align: center; color: #8296ac; font-size: 13px; padding: 18px 0 4px; }
.con-copy { background: none; border: 0; color: var(--blue); cursor: pointer; font-size: 14px; margin-left: 6px; }
.qr-thumb { border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.qr-row { grid-template-columns: 92px minmax(0,1fr) auto; }
.con-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 7px; font-size: 11.5px; font-weight: 700; padding: 2px 9px; color: var(--ink-soft); margin-bottom: 4px; }
.con-settings { display: flex; gap: 26px; align-items: flex-start; }
.con-subnav { width: 210px; flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; }
@media (max-width: 1024px) {
  .console { grid-template-columns: 1fr; }
  .con-side { display: flex; align-items: center; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .con-side nav { display: flex; gap: 4px; }
  .con-create { width: auto; margin: 0 8px 0 0; white-space: nowrap; }
  .con-nav { white-space: nowrap; }
  .con-grid { grid-template-columns: 1fr; }
  .con-settings { flex-direction: column; }
  .con-subnav { width: 100%; }
}

/* Floating start bar */
.startbar { position: fixed; bottom: 22px; right: 22px; z-index: 900; display: flex; align-items: center; gap: 12px; background: var(--orange); border-radius: 16px; padding: 10px 14px; box-shadow: 0 12px 34px rgba(3, 31, 57, .3); animation: startbarIn .3s ease; }
@keyframes startbarIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.startbar[hidden] { display: none !important; }
.startbar-label { color: #fff; font-weight: 800; font-size: 16.5px; }
.startbar-btn { width: 46px; height: 46px; border-radius: 12px; background: #fffdf7; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 22px; text-decoration: none !important; }
.startbar-btn:hover { background: var(--navy); color: #fff; }
@media (max-width: 600px) { .startbar { right: 12px; bottom: 12px; padding: 8px 12px; } .startbar-label { display: none; } }

/* 404 */
.err-wrap { text-align: center; padding: 90px 22px; }
.err-wrap .code { font-size: 110px; font-weight: 900; color: var(--orange); line-height: 1; }

/* Guides */
.guide-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 26px; }
.guide-block h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.guide-block h2 i { color: var(--orange); }
.guide-block .desc { color: var(--ink-soft); margin: 8px 0 18px; }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; }
.guide-list a { padding: 7px 0; font-weight: 600; font-size: 15px; }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sitemap-grid h2 { font-size: 19px; margin-bottom: 12px; color: var(--navy); }
.sitemap-grid a { display: block; padding: 4px 0; font-size: 14.5px; }

/* Utility */
.center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 34px; }
.muted { color: var(--ink-soft); }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: 7px 16px; font-size: 13.5px; font-weight: 600; }

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .header-actions .btn-outline-light { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .cards-3, .steps, .post-grid, .plans, .stats-band, .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .cards-2, .tool-page-grid, .page-hero-grid, .feature-split, .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .feature-split.flip .feature-copy { order: 1; }
  .feature-split.flip img { order: 2; }
  .stat-tiles { grid-template-columns: 1fr; }
  .header-actions .nav-link-plain { display: none; }
}
@media (max-width: 600px) {
  .cards-3, .steps, .post-grid, .plans, .cards-4, .stats-band, .guide-list, .sitemap-grid { grid-template-columns: 1fr; }
  .shorten-row { flex-direction: column; }
  .tool-card { padding: 26px 20px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 90px; }
}

/* In-dashboard QR overlay */
.gt-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.gt-modal[hidden] { display: none; }
.gt-modal-backdrop { position: absolute; inset: 0; background: rgba(3,31,57,.55); }
.gt-modal-card { position: relative; background: #fff; border-radius: 16px; padding: 28px 26px 24px; width: min(400px, calc(100vw - 32px)); text-align: center; border: 1px solid var(--line, #e2e8f0); }
.gt-modal-card h3 { margin: 0 0 12px; font-size: 20px; }
.gt-modal-card img { display: block; margin: 0 auto; width: 280px; height: 280px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; }
.gt-qr-caption { margin: 10px 0 16px; font-weight: 700; color: var(--navy, #031f39); word-break: break-all; }
.gt-modal-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gt-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; font-size: 18px; cursor: pointer; color: #64748b; padding: 6px; border-radius: 10px; }
.gt-modal-close:hover { background: #f1f5f9; color: var(--navy, #031f39); }
.qr-thumb-btn { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 12px; }
.qr-thumb-btn:hover .qr-thumb { outline: 2px solid var(--blue, #2a5bd7); outline-offset: 2px; }
