/* styles.css */
* { box-sizing: border-box; }
:root {
  --bg: #fafafa;
  --card: #fff;
  --text: #1a1a1a;
  --muted: #666;
  --line: #e5e5e5;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #f59e0b;
  --ok: #10b981;
  --danger: #ef4444;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  background: linear-gradient(180deg, #fff7ed 0%, #fafafa 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.hero .logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #92400e;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 40px;
  margin: 0 0 16px;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.hero .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 24px;
}
.btn-hero {
  font-size: 16px;
  padding: 14px 28px;
  display: inline-block;
}

.card-lead {
  color: var(--muted);
  font-size: 14px;
  margin: -8px 0 16px;
}

.badge-soon {
  background: #fef3c7;
  color: #92400e;
}

.sms-card {
  border-left: 3px solid var(--accent);
}

/* === Features grid (hero index) === */
.features-card { padding-top: 22px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.feature { padding: 4px 2px; }
.feature-icon { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.2px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.feature p a { color: var(--primary); }

/* === Blog teaser (hero index) === */
.blog-teaser { border-left: 3px solid var(--primary); }
.blog-teaser-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 8px;
}
.blog-teaser-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f3f3f3;
}
.blog-teaser-list li:last-child { border-bottom: none; }
.blog-teaser-list a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.blog-teaser-list a:hover { color: var(--primary); }

.footer-small {
  font-size: 11px;
  color: #bbb;
  margin: 8px 0 0;
}

main {
  padding: 32px 0 60px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

h2 {
  font-size: 20px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .roles-grid { grid-template-columns: 1fr; }
}
.role-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}
.role-option:hover { border-color: var(--primary); }
.role-option input { margin-top: 3px; }
.role-option.checked {
  border-color: var(--primary);
  background: #eff6ff;
}
.role-option .role-label {
  flex: 1;
  font-size: 14px;
}
.role-option .role-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn-primary:disabled { background: #aaa; cursor: wait; }
.btn-secondary {
  background: #f3f4f6;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #e5e7eb; }

.badge {
  background: #e0e7ff;
  color: #3730a3;
  padding: 3px 10px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 500;
}

/* Terms list */
.term {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f3f3;
}
.term:last-child { border-bottom: 0; }
.term-date {
  text-align: center;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 4px;
  border: 1px solid #e5e7eb;
}
.term-date .day {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.term-date .month {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}
.term-content .term-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.term-content .term-meta {
  font-size: 13px;
  color: var(--muted);
}
.term-content .term-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.term-soon { background: #fff7ed; border-radius: 8px; padding: 14px; margin: 6px 0; }
.term-soon .term-date { background: var(--accent); color: #fff; border-color: var(--accent); }
.term-soon .term-date .month { color: #fff; }

.subscribe-card { background: linear-gradient(135deg, #eff6ff, #fef3c7); }

.subscribe-form {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.subscribe-form input {
  flex: 1;
  padding: 11px 14px;
  font-size: 15px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
}
.subscribe-form input:focus { border-color: var(--primary); outline: none; }
@media (max-width: 500px) {
  .subscribe-form { flex-direction: column; }
}

.hint { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

.success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}
.error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}

.faq details {
  padding: 12px 0;
  border-bottom: 1px solid #f3f3f3;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
}
.faq details p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  color: #999;
}

/* ============ AUTH / ACCOUNT ============ */
.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.logo-link { text-decoration: none; }
.hero .logo { margin-bottom: 0; display: inline-block; }
.topnav { display: flex; gap: 20px; }
.topnav a {
  color: #1a1a1a; font-size: 14px; font-weight: 500; text-decoration: none;
}
.topnav a:hover { color: var(--primary); }
.hero-compact { padding: 28px 0 22px; }
.container.narrow { max-width: 520px; }

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.stack input[type="email"],
.stack input[type="password"],
.stack input[type="text"],
.stack input[type="tel"] {
  padding: 11px 14px; font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 8px; font-family: inherit;
}
.stack input:focus { border-color: var(--primary); outline: none; }

.account-dl { margin: 0; }
.account-dl > div { display: flex; padding: 7px 0; border-bottom: 1px solid #f3f3f3; font-size: 14px; }
.account-dl > div:last-child { border: 0; }
.account-dl dt { color: var(--muted); min-width: 150px; }
.account-dl dd { margin: 0; }

.check { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.danger { border-color: #fecaca; background: #fef9f9; }
.btn-danger {
  background: #ef4444; color: #fff; border: 0;
  padding: 9px 18px; border-radius: 8px; font-weight: 500; cursor: pointer;
  font-family: inherit; font-size: 14px;
}
.btn-danger:hover { background: #dc2626; }

.success-inline { color: #166534; font-size: 13px; margin-left: 10px; }
.error-inline { color: #991b1b; font-size: 13px; margin-left: 10px; }
.warn-inline { color: #92400e; font-size: 13px; margin-left: 10px; }
.warn { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; padding: 10px 14px; border-radius: 8px; font-size: 14px; margin-top: 8px; }

.pricing-hero { text-align: center; background: linear-gradient(135deg, #eff6ff, #fef3c7); }
.price { font-size: 14px; color: var(--muted); margin: 16px 0 8px; }
.price-num { font-size: 56px; font-weight: 700; color: var(--text); letter-spacing: -1px; }

.compare { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.compare th, .compare td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee; }
.compare th { font-size: 13px; color: var(--muted); font-weight: 600; }
.compare td:nth-child(2), .compare td:nth-child(3),
.compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; width: 80px; }
.compare tr:last-child td { border-bottom: 0; }

/* ============ CUSTOM TERMS ============ */
.custom-list {
  margin-top: 12px;
}
.custom-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fff;
}
.custom-item-main { flex: 1; min-width: 0; }
.custom-title { font-weight: 600; font-size: 14px; }
.custom-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.btn-link {
  background: transparent; border: 0; color: #ef4444;
  cursor: pointer; padding: 4px 8px; font-size: 13px;
}
.btn-link:hover { text-decoration: underline; }

.custom-form { gap: 10px; }
.custom-form select {
  padding: 11px 14px; font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 8px; font-family: inherit;
  background: #fff;
}

details > summary { cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details > summary { list-style: none; }

/* ============ LANDING PAGES ============ */
.landing-content { padding: 20px 0 60px; }
.breadcrumbs {
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.landing-article h1 {
  font-size: 30px; line-height: 1.2; letter-spacing: -0.5px;
  margin: 0 0 18px;
}
.landing-intro {
  font-size: 17px; line-height: 1.6; color: #444;
  margin: 0 0 30px;
}
.landing-article section {
  margin: 36px 0;
}
.landing-article h2 {
  font-size: 22px; margin: 0 0 14px; letter-spacing: -0.3px;
}
.landing-article p, .landing-article li { line-height: 1.65; }
.landing-article ul { padding-left: 22px; }
.landing-article ul li { margin: 6px 0; }
.landing-article table { width: 100%; border-collapse: collapse; margin: 12px 0; }

.landing-terms { margin-top: 14px; }
.landing-terms .term {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f3f3;
}
.landing-terms .term:last-child { border-bottom: 0; }

.faq-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 14px 0;
}
.faq-item summary {
  font-weight: 600; font-size: 15px; cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+ '; color: var(--primary); }
.faq-item[open] summary::before { content: '− '; }
.faq-answer { padding: 10px 0 4px 18px; color: #555; font-size: 14px; }
.faq-answer a { color: var(--primary); }

.landing-cta {
  background: linear-gradient(135deg, #eff6ff, #fef3c7);
  border-radius: 12px;
  padding: 28px;
  margin: 50px 0 30px;
  text-align: center;
}
.landing-cta h3 { margin: 0 0 8px; font-size: 22px; }
.landing-cta p { margin: 0 0 18px; color: var(--muted); }

.related-landings { margin-top: 50px; }
.related-landings h2 { font-size: 18px; margin-bottom: 12px; }
.related-landings ul { padding-left: 0; list-style: none; }
.related-landings li { padding: 6px 0; border-bottom: 1px solid #f3f3f3; }
.related-landings a { color: var(--primary); text-decoration: none; font-size: 14px; }
.related-landings a:hover { text-decoration: underline; }

/* === Blog === */
.blog-content { padding: 20px 0 60px; max-width: 820px; }
.blog-header { margin: 10px 0 28px; }
.blog-header h1 { font-size: 32px; margin: 0 0 10px; letter-spacing: -0.5px; }
.blog-intro { font-size: 17px; color: var(--muted); line-height: 1.55; margin: 0; }
.blog-grid { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.blog-card {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 12px;
  padding: 20px 22px; transition: border-color .15s, box-shadow .15s;
}
.blog-card:hover { border-color: var(--primary); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.blog-card h2 { margin: 8px 0 10px; font-size: 20px; line-height: 1.35; }
.blog-card h2 a { color: #1a1a1a; text-decoration: none; }
.blog-card h2 a:hover { color: var(--primary); }
.blog-card p { margin: 0 0 12px; color: var(--muted); line-height: 1.55; font-size: 14.5px; }
.blog-readmore { color: var(--primary); font-size: 14px; font-weight: 500; text-decoration: none; }
.blog-readmore:hover { text-decoration: underline; }
.blog-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 12px; color: var(--muted);
}
.blog-category {
  background: #eef2ff; color: #4338ca;
  padding: 2px 10px; border-radius: 12px; font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: .3px;
}
.blog-article-header { margin: 8px 0 28px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.blog-article-header h1 { font-size: 32px; margin: 12px 0 0; line-height: 1.25; letter-spacing: -0.5px; }
.blog-article .lead {
  font-size: 17px; line-height: 1.65; color: #333;
  border-left: 3px solid var(--primary); padding-left: 14px; margin: 0 0 24px;
}
.blog-article section { margin: 28px 0; }
.blog-article h2 { font-size: 22px; margin: 32px 0 12px; letter-spacing: -0.3px; }
.blog-article h3 { font-size: 17px; margin: 22px 0 8px; }
.blog-article p, .blog-article li { line-height: 1.7; font-size: 15.5px; }
.blog-article ul { padding-left: 22px; }
.blog-article ul li { margin: 6px 0; }
.blog-article a { color: var(--primary); }
.blog-faq { margin-top: 40px; padding-top: 28px; border-top: 1px solid #eee; }
.blog-faq h2 { margin-top: 0; }
.related-blog { margin-top: 50px; padding-top: 28px; border-top: 1px solid #eee; }
.related-blog h2 { font-size: 18px; margin-bottom: 12px; }
.related-blog ul { padding-left: 0; list-style: none; }
.related-blog li { padding: 8px 0; border-bottom: 1px solid #f3f3f3; line-height: 1.45; }
.related-blog a { color: #1a1a1a; text-decoration: none; font-size: 14px; }
.related-blog a:hover { color: var(--primary); }
.related-cat {
  display: inline-block;
  background: #eef2ff;
  color: #4338ca;
  padding: 1px 8px;
  margin-right: 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  vertical-align: 1px;
}

.footer-links {
  font-size: 13px; color: var(--muted); margin-bottom: 16px;
  padding: 0 16px;
  line-height: 1.9;
}
.footer-links strong { color: #555; margin-right: 8px; }
.footer-links a { color: #555; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

.plan-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.plan-buttons button { font-size: 15px; padding: 12px 20px; }

/* Plan-cards v account.html */
.plan-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 500px) { .plan-choices { grid-template-columns: 1fr; } }
.plan-card {
  position: relative;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.plan-card:hover:not(:disabled) {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, .12);
}
.plan-card:disabled { opacity: 0.6; cursor: wait; }
.plan-recommended { border-color: var(--accent); background: linear-gradient(180deg, #fffbeb, #fff); }
.plan-recommended:hover:not(:disabled) { border-color: var(--accent); }
.plan-name { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.plan-price { font-size: 22px; line-height: 1.1; margin: 4px 0; }
.plan-price strong { font-size: 28px; font-weight: 700; color: var(--text); }
.plan-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.plan-badge {
  position: absolute; top: -10px; right: 10px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 10px; letter-spacing: .3px;
}
.plan-loading::after { content: ' ⏳'; }

/* Provider tabs (Google/Apple/Outlook/...) */
.provider-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0;
}
.provider-tab {
  background: transparent;
  border: 0;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  color: var(--muted);
  border-radius: 0;
}
.provider-tab:hover { color: var(--text); }
.provider-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}
.provider-help {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.provider-help ol, .provider-help ul { padding-left: 22px; margin: 6px 0; }
.provider-help li { margin: 4px 0; }
.provider-help code { background: #fff; padding: 1px 6px; border-radius: 3px; font-size: 12px; border: 1px solid #e5e5e5; }
.provider-help a { color: var(--primary); }

.provider-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f3f4f6;
  font-size: 11px;
  color: #4b5563;
  margin-left: 4px;
  font-weight: 500;
}
.provider-pill.provider-other { color: #6b7280; }

/* === Cookie banner + modal === */
.da-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: #1a1a1a;
  color: #fff;
  padding: 16px;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.da-cookie-banner-visible { transform: translateY(0); }
.da-cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.da-cookie-banner-text { flex: 1; min-width: 280px; }
.da-cookie-banner-text strong { display: block; font-size: 16px; margin-bottom: 4px; }
.da-cookie-banner-text p { margin: 0; font-size: 13px; line-height: 1.5; color: #e5e5e5; }
.da-cookie-banner-text a { color: #93c5fd; text-decoration: underline; }
.da-cookie-banner-text a:hover { color: #bfdbfe; }
.da-cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }

.da-cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background .15s, transform .1s;
}
.da-cookie-btn:active { transform: scale(0.97); }
.da-cookie-btn-primary {
  background: var(--primary);
  color: #fff;
}
.da-cookie-btn-primary:hover { background: var(--primary-hover); }
.da-cookie-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.da-cookie-btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* Modal */
.da-cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.da-cookie-modal-visible { opacity: 1; pointer-events: auto; }
.da-cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.da-cookie-modal-content {
  position: relative;
  background: #fff;
  color: var(--text);
  max-width: 560px;
  margin: 5vh auto;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
}
.da-cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.da-cookie-modal-header h2 { margin: 0; font-size: 22px; }
.da-cookie-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 4px;
}
.da-cookie-modal-close:hover { color: var(--text); }
.da-cookie-modal-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 18px;
}

.da-cookie-cat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .15s;
}
.da-cookie-cat:hover { border-color: var(--primary); }
.da-cookie-cat-disabled { cursor: default; opacity: 0.8; background: #f9fafb; }
.da-cookie-cat-disabled:hover { border-color: var(--line); }
.da-cookie-cat-text strong { display: block; font-size: 15px; margin-bottom: 2px; }
.da-cookie-cat-text p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Toggle switch */
.da-cookie-cat-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.da-cookie-cat-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.da-cookie-cat-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 24px;
  transition: background .2s;
}
.da-cookie-cat-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.da-cookie-cat-toggle input:checked + .da-cookie-cat-slider { background: var(--primary); }
.da-cookie-cat-toggle input:checked + .da-cookie-cat-slider::before { transform: translateX(20px); }
.da-cookie-cat-toggle input:disabled + .da-cookie-cat-slider { background: #9ca3af; cursor: not-allowed; }

.da-cookie-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.da-cookie-modal-link {
  margin: 12px 0 0;
  font-size: 13px;
  text-align: center;
}
.da-cookie-modal-link a { color: var(--primary); }

/* Floating link */
.da-cookie-floating {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 9997;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, box-shadow .15s;
}
.da-cookie-floating:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.da-cookie-floating:active { transform: scale(0.95); }

/* Mobile */
@media (max-width: 600px) {
  .da-cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .da-cookie-banner-actions { width: 100%; }
  .da-cookie-banner-actions .da-cookie-btn { flex: 1; }
  .da-cookie-modal-content { margin: 0; border-radius: 0; max-height: 100vh; }
  .da-cookie-floating { bottom: 12px; left: 12px; width: 40px; height: 40px; }
}
