/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.auth-card { max-width: 520px; margin: 12vh auto; padding: 40px; background: #fff; border: 1px solid #e5e5e0; border-radius: 16px; }
.auth-card h1 { font-size: 34px; letter-spacing: -.045em; margin: 0 0 14px; }
.auth-card p:not(.eyebrow) { color: #666761; margin-bottom: 24px; }
.auth-card small { display: block; margin-top: 14px; color: #81817e; }

:root {
  --ink: #24252b;
  --muted: #686a65;
  --surface: #ffffff;
  --canvas: #f7f7f5;
  --line: #e2e3de;
  --accent: #dff35d;
  --danger: #a92f23;
  --danger-soft: #fff2ef;
}

* { box-sizing: border-box; }

.public-body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.public-body a { color: #4d5720; }
.public-body a:focus-visible,
.public-body button:focus-visible,
.public-body input:focus-visible { outline: 3px solid #9bad2a; outline-offset: 3px; }

.public-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.public-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.public-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; font-size: 14px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.public-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--accent); font-size: 10px; }
.public-nav, .public-footer nav { display: flex; gap: 24px; }
.public-nav a, .public-footer a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
.public-nav a:hover, .public-footer a:hover { color: var(--ink); text-decoration: underline; }

.public-hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: center; gap: clamp(48px, 8vw, 110px); padding: 72px 0; }
.public-eyebrow { margin: 0 0 14px; color: #68731e; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-copy h1, .legal-intro h1 { max-width: 820px; margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.065em; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.google-form { margin-top: 30px; }
.public-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 8px; padding: 11px 18px; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.public-button.primary { background: var(--ink); color: #fff; }
.public-button.secondary { background: var(--surface); color: var(--ink); }
.public-button.danger { border-color: var(--danger); background: var(--danger); color: #fff; }
.trust-copy { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.trust-copy code, .legal-content code { border-radius: 4px; background: #eceee7; padding: 2px 5px; color: #373b25; }

.promise-card { border-radius: 18px; background: #202126; padding: 30px; color: #fff; box-shadow: 0 24px 60px rgb(31 32 36 / 12%); }
.promise-card .public-eyebrow { color: var(--accent); }
.promise-list { margin: 28px 0 0; padding: 0; list-style: none; }
.promise-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid #3b3c40; }
.promise-list li > span { color: var(--accent); font-size: 11px; font-weight: 800; }
.promise-list strong { font-size: 15px; }
.promise-list p { margin: 5px 0 0; color: #b7b8b4; font-size: 13px; }

.public-section { padding: 80px 0 100px; border-top: 1px solid var(--line); }
.public-section h2, .account-action h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -.05em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.feature-grid article, .action-card, .account-action { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 26px; }
.feature-grid strong { font-size: 15px; }
.feature-grid p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.public-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.legal-page { padding: 72px 0 100px; }
.legal-intro { max-width: 850px; }
.legal-intro h1 { font-size: clamp(44px, 7vw, 72px); }
.legal-intro > p:last-child { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.legal-content { max-width: 820px; margin-top: 64px; }
.legal-content section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-content h2, .action-card h2 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.025em; }
.legal-content p, .action-card p, .account-action p { margin: 0; color: #4f514d; }
.deletion-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.step-number { display: block; margin-bottom: 32px; color: #68731e; font-size: 11px; font-weight: 800; }
.action-card .public-button { margin-top: 24px; }

.account-page { max-width: 920px; margin: 0 auto; }
.account-actions { display: grid; gap: 18px; margin-top: 56px; }
.account-action { display: grid; grid-template-columns: 1fr minmax(280px, .7fr); gap: 48px; padding: 34px; }
.account-action h2 { margin-bottom: 14px; font-size: 30px; }
.danger-zone { border-color: #e9c4bd; background: var(--danger-soft); }
.status-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px !important; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.status-label.danger { color: var(--danger); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #69851e; }
.status-dot.inactive { background: #979995; }
.confirmation-form { display: flex; flex-direction: column; justify-content: center; }
.confirmation-form label { margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.confirmation-form input[type="text"] { min-height: 44px; width: 100%; border: 1px solid #cfd0ca; border-radius: 7px; background: #fff; padding: 10px 12px; font: inherit; }
.confirmation-form .public-button { width: 100%; margin-top: 16px; }
.field-help { margin-top: 6px; color: var(--muted); font-size: 11px; }
.back-link { margin-top: 30px; font-size: 13px; }
.page-notice, .flash { border: 1px solid #cad789; border-radius: 9px; background: #f2f8cf; padding: 14px 16px; }
.page-notice { display: grid; gap: 3px; margin-top: 24px; font-size: 13px; }
.flash { position: relative; z-index: 10; width: min(1180px, calc(100% - 40px)); margin: 16px auto 0; font-size: 13px; }
.flash-error { border-color: #e4b8af; background: var(--danger-soft); color: #79241c; }

@media (max-width: 800px) {
  .public-hero { min-height: 0; grid-template-columns: 1fr; padding: 64px 0; }
  .feature-grid, .deletion-options { grid-template-columns: 1fr; }
  .account-action { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  .public-shell { width: min(100% - 28px, 1180px); }
  .public-header { min-height: 70px; }
  .public-brand > span:last-child { display: none; }
  .public-nav { gap: 14px; }
  .public-nav a { font-size: 12px; }
  .public-nav a:nth-child(2) { display: none; }
  .public-hero { gap: 42px; padding: 48px 0 64px; }
  .hero-copy h1 { font-size: 43px; }
  .promise-card, .feature-grid article, .action-card, .account-action { padding: 22px; }
  .legal-page { padding: 48px 0 72px; }
  .legal-content { margin-top: 44px; }
  .public-footer { align-items: flex-start; flex-direction: column; padding: 28px 0; }
  .public-footer nav { flex-wrap: wrap; gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
