/* Daly Digital — Tideline */
:root {
  --teal: #0F6E74;
  --teal-dark: #0B5257;
  --sun: #F4B942;
  --sand: #F3EDE2;
  --shell: #FBF8F2;
  --ink: #1E2B30;
  --muted: #55605F;
  --line: #E2D9C9;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--shell);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
img, svg { display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: 1.6rem; margin-top: 1.6em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.small { font-size: .9rem; color: var(--muted); margin: .4em 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 500; color: var(--teal); margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* Header */
.site-header { background: var(--shell); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.2rem; }
.brand:hover { color: var(--ink); }
.mark { width: 36px; height: 36px; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
nav a:hover { color: var(--teal); }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--radius); background: var(--teal); color: var(--shell); text-decoration: none; font-weight: 700; border: 2px solid var(--teal); }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--shell); }
.btn-small { min-height: 40px; padding: 6px 16px; }
nav .btn { color: var(--shell); }
.btn-ghost { background: transparent; color: var(--shell); border-color: var(--shell); }
.btn-ghost:hover { background: var(--shell); color: var(--teal); border-color: var(--shell); }
.btn-disabled { background: var(--sand); border-color: var(--line); color: var(--muted); cursor: default; }
.btn-disabled:hover { background: var(--sand); border-color: var(--line); color: var(--muted); }

/* Hero */
.hero { background: var(--teal); color: var(--shell); position: relative; padding: 88px 0 120px; }
.hero .eyebrow { color: var(--sun); }
.hero h1 { max-width: 14ch; }
.hero .lead { color: #D8ECEA; max-width: 36ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn:not(.btn-ghost) { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.hero .btn:not(.btn-ghost):hover { background: #E8A82A; border-color: #E8A82A; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; }

/* Sections */
.section { padding: 64px 0; }
.section h2:first-child { margin-top: 0; }
.section-alt { background: var(--sand); }
.page-head { background: var(--sand); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .2em; }
.page-head .lead { margin: 0; }
.app-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* App grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.card > p { color: var(--muted); flex-grow: 1; }
.card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
.tagline { margin: 2px 0 0; color: var(--teal); font-weight: 500; font-size: .95rem; }
.card-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 0; }
.card-links a:not(.btn) { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.tile { width: 60px; height: 60px; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; letter-spacing: .02em; }
.tile-lg { width: 88px; height: 88px; border-radius: 20px; font-size: 1.7rem; }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.promise h3 { color: var(--teal); }
.promise p { color: var(--muted); margin: 0; }

/* Prose */
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.summary { background: var(--sand); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 1.5em; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D1CF; padding: 40px 0; }
.site-footer a { color: #fff; }
.site-footer .small { color: #AEB8B6; }
.footer-top { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-top p { margin: 0; }
.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 96px; }
  .section { padding: 48px 0; }
  nav { gap: 14px; }
}
img.tile { object-fit: cover; background: #fff; box-shadow: 0 1px 3px rgba(30,43,48,.15); }
