:root {
  color-scheme: dark;
  --green: #334037;
  --cream: #f6f3ec;
  --gold: #b89a64;
  --muted: #d4d6cf;
  --line: #7c8374;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--green); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 24px 24px 20px;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  place-items: center;
  background: var(--green);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: rgba(246, 243, 236, .16); }
a:focus-visible { outline: 3px solid #e6d3ad; outline-offset: 5px; }
svg { display: block; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 2; inset: 12px auto auto 12px; padding: 12px 16px; background: var(--cream); color: var(--green); transform: translateY(calc(-100% - 24px)); }
.skip-link:focus { transform: translateY(0); }
.digital-card { width: min(100%, 420px); min-width: 0; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 15px; border-bottom: 1px solid rgba(246, 243, 236, .2); color: var(--muted); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.card-meta svg { color: var(--gold); }
.card-identity { text-align: center; }
.card-identity h1 { margin: 22px 0 16px; line-height: 0; }
.card-logo { display: block; width: min(100%, 280px); height: auto; margin-inline: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.card-slogan { margin: 0; font: 1.875rem/1.15 var(--serif); letter-spacing: -.025em; }
.card-slogan em { color: #dfd0b3; font-weight: 400; }
.card-description { max-width: 34ch; margin: 18px auto 26px; color: var(--muted); font-size: .9375rem; line-height: 1.65; text-wrap: pretty; }
.card-actions { scroll-margin-block: 20px; }
.card-actions:focus { outline: none; }
.action { display: flex; min-height: 60px; align-items: center; justify-content: center; gap: 12px; padding: 16px; border: 1px solid transparent; border-radius: 2px; font-size: .9375rem; line-height: 1.4; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.action span { min-width: 0; overflow-wrap: anywhere; }
.action-primary { background: var(--cream); color: var(--green); font-weight: 600; }
.action-arrow { margin-left: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.action-secondary { min-height: 88px; flex-direction: column; gap: 8px; padding: 13px 8px; border-color: var(--line); background: transparent; }
.action-secondary svg { color: #d5bc8d; }
.action-save { border-color: var(--gold); background: rgba(184, 154, 100, .06); }
.card-footer { margin-top: 24px; padding-top: 12px; border-top: 1px solid rgba(246, 243, 236, .2); text-align: center; color: var(--muted); font-size: .75rem; }
.card-footer a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding-inline: 6px; overflow-wrap: anywhere; }
.domain-link { max-width: 100%; letter-spacing: .04em; }
.card-footer p { margin: 0; }
.credit-link { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) {
  .action:hover { transform: translateY(-2px); }
  .action-primary:hover { background: #e5d5b8; }
  .action-secondary:hover { border-color: #d5bc8d; background: rgba(246, 243, 236, .07); }
  .card-footer a:hover { color: #dfd0b3; }
}
.action:active { transform: scale(.98); }
@media (max-width: 359px), (max-height: 740px) {
  body { padding-block: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-bottom)); }
  .card-identity h1 { margin-block: 16px 12px; }
  .card-logo { width: min(100%, 244px); }
  .card-slogan { font-size: 1.625rem; }
  .card-description { margin-block: 14px 20px; }
  .action-secondary { min-height: 78px; }
  .card-footer { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .action:hover, .action:active { transform: none; }
}
::selection { background: #dfd0b3; color: var(--green); }
