:root {
  color-scheme: light;
  --green: #147a43;
  --green-dark: #0b4e2a;
  --green-soft: #e8f4ed;
  --ink: #142019;
  --muted: #607068;
  --line: #dfe7e2;
  --paper: #ffffff;
  --canvas: #f3f6f4;
  --warning: #f0ae32;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--green-dark); }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.app-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) clamp(18px, 4vw, 42px) 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; }
.brand-logo { display: block; width: clamp(155px, 26vw, 225px); height: auto; }
.install-button { border: 0; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); padding: 11px 15px; font-weight: 800; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.install-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

main { max-width: 920px; margin: 0 auto; padding: clamp(24px, 5vw, 50px) clamp(16px, 4vw, 34px) 56px; }
.welcome { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.eyebrow { margin: 0 0 7px; color: var(--green); font-weight: 900; letter-spacing: .14em; font-size: .75rem; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.35rem); letter-spacing: -.055em; line-height: .98; max-width: 620px; }
.welcome > div > p:last-child { color: var(--muted); font-size: 1.05rem; margin: 12px 0 0; }
.call-pill { flex: none; display: flex; align-items: center; gap: 10px; color: white; background: var(--green-dark); padding: 13px 17px; border-radius: 16px; text-decoration: none; font-weight: 850; box-shadow: 0 10px 24px rgba(11,78,42,.18); }
.call-pill svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call-pill small { display: block; font-size: .72rem; opacity: .75; font-weight: 650; margin-bottom: 2px; }

.action-grid { display: grid; gap: 12px; }
.action-card { width: 100%; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); min-height: 90px; padding: 16px 18px; display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 15px; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; box-shadow: 0 5px 18px rgba(30,55,42,.05); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.action-card:hover { transform: translateY(-2px); border-color: #b8d1c1; box-shadow: 0 9px 25px rgba(30,55,42,.09); }
.action-card:focus-visible, .install-button:focus-visible, .contact-actions a:focus-visible, .facebook-button:focus-visible { outline: 3px solid #73c896; outline-offset: 3px; }
.action-card.primary { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 12px 25px rgba(20,122,67,.18); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.primary .icon-box { background: rgba(255,255,255,.16); color: white; }
.icon-box svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-copy strong { display: block; font-size: 1.08rem; line-height: 1.2; }
.action-copy small { display: block; color: var(--muted); font-size: .9rem; margin-top: 5px; line-height: 1.25; }
.primary .action-copy small { color: rgba(255,255,255,.8); }
.arrow { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .65; }

.delay-card { margin-top: 22px; padding: 22px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 17px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #17241c, #0b4e2a); box-shadow: 0 14px 30px rgba(11,78,42,.16); }
.delay-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #1e271f; background: var(--warning); }
.delay-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.delay-copy .eyebrow { color: #ffc85f; }
.delay-copy h2, .contact-section h2 { margin: 0; letter-spacing: -.035em; font-size: 1.55rem; }
.delay-copy > p:last-child, .contact-section > div > p:last-child { margin: 5px 0 0; color: rgba(255,255,255,.75); }
.facebook-button { background: #fff; color: #17241c; border-radius: 13px; padding: 12px 15px; text-decoration: none; font-size: .9rem; font-weight: 850; white-space: nowrap; }

.contact-section { margin-top: 22px; border-radius: 22px; padding: 24px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact-section > div > p:last-child { color: var(--muted); }
.contact-actions { display: flex; gap: 9px; }
.contact-actions a { min-width: 78px; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .8rem; font-weight: 850; }
.contact-actions svg { width: 21px; height: 21px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

footer { padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); text-align: center; color: rgba(255,255,255,.7); background: var(--green-dark); font-size: .85rem; }
footer p { margin: 3px 0; }
footer strong, footer a { color: white; }
footer a { display: inline-block; margin-top: 8px; }

dialog { width: min(92vw, 560px); border: 0; border-radius: 24px; padding: 0; color: var(--ink); box-shadow: 0 30px 80px rgba(5,25,14,.3); }
dialog::backdrop { background: rgba(5,25,14,.62); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.035em; }
.close-button { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--canvas); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.schedule-list { padding: 18px 24px 8px; display: grid; gap: 12px; }
.schedule-item { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: 17px; }
.schedule-item.changed { border-color: #f0ce87; background: #fff9eb; }
.date-box { width: 58px; height: 64px; display: grid; place-items: center; align-content: center; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); }
.changed .date-box { background: var(--warning); color: #28200f; }
.date-box strong { font-size: .68rem; letter-spacing: .12em; }
.date-box b { font-size: 1.45rem; line-height: 1.1; }
.schedule-item h3 { margin: 2px 0 5px; font-size: 1.05rem; }
.schedule-item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.schedule-item .status { color: #81580a; font-weight: 900; font-size: .69rem; letter-spacing: .09em; }
.schedule-item .status.normal { color: var(--green); }
.dialog-done { width: calc(100% - 48px); margin: 12px 24px 24px; border: 0; border-radius: 14px; background: var(--green); color: white; padding: 14px; font-weight: 850; cursor: pointer; }
.install-steps { padding: 22px 24px 6px; display: grid; gap: 14px; }
.install-steps > div { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; }
.install-steps span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 900; }
.install-steps p { margin: 0; color: var(--muted); line-height: 1.4; }

@media (min-width: 760px) {
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .action-card { min-height: 176px; grid-template-columns: 1fr 24px; grid-template-rows: 52px 1fr; align-items: start; }
  .action-card .icon-box { grid-column: 1; }
  .action-card .arrow { grid-column: 2; grid-row: 1; margin-top: 13px; }
  .action-copy { grid-column: 1 / -1; align-self: end; }
}
@media (max-width: 680px) {
  .app-header { min-height: 72px; }
  .brand-logo { width: 150px; }
  .install-button { padding: 10px 12px; font-size: .82rem; }
  .install-button svg { display: none; }
  .welcome { display: block; }
  .call-pill { margin-top: 18px; width: fit-content; }
  .delay-card { grid-template-columns: 46px 1fr; }
  .delay-icon { width: 46px; height: 46px; border-radius: 14px; }
  .facebook-button { grid-column: 1 / -1; text-align: center; padding: 14px; }
  .contact-section { display: block; }
  .contact-actions { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .contact-actions a { min-width: 0; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
