/* Take a Break — Updated to your spec:
   - Full-width hero text (no phone image, no tech pills)
   - Brand primary color #6F6D85
   - Removed FAQ + accessibility card
   - Footer PP/ToU open new URLs
*/

:root {
  --bg: #ffffff;
  --surface: #f7f7fa;
  --text: #111218;
  --muted: #5e6270;
  --border: #e6e7ef;

  --primary: #6F6D85;             /* brand primary */
  --primary-contrast: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(2,6,23,.12);

  --content-width: 1060px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1117;
    --surface: #141722;
    --text: #e9eaf0;
    --muted: #a9adbb;
    --border: #252a36;

    --primary: #8a88a3;           /* slight lift for dark mode */
    --primary-contrast: #0f1117;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Inter, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
}
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 1000;
  background: var(--primary); color: var(--primary-contrast);
  padding: .5rem .75rem; border-radius: 8px;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; letter-spacing: .2px;
}
.brand-icon { border-radius: 6px; }
.brand .brand-text { font-size: 1.05rem; }
.badge.beta {
  font-size: .75rem;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  padding: .15rem .5rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
}

.nav ul {
  display: flex; align-items: center; gap: .75rem;
  list-style: none; margin: 0; padding: 0;
}
.nav a { padding: .35rem .6rem; border-radius: 8px; }
.nav .divider { width: 1px; height: 20px; background: var(--border); margin-inline: .25rem; }

.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-bd: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem .9rem; border-radius: 12px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }

.btn--primary {
  --btn-bg: var(--primary);
  --btn-fg: var(--primary-contrast);
  --btn-bd: color-mix(in srgb, var(--primary) 25%, black);
}
.btn--outline { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--border); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--muted); --btn-bd: transparent; }
.btn--lg { padding: .8rem 1.1rem; border-radius: 14px; font-size: 1.05rem; }
.disabled, .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background:
    linear-gradient(to bottom, color-mix(in srgb, var(--primary) 6%, transparent), transparent 40%);
}
.hero-inner {
  max-width: 760px; margin: 0 auto;
  display: grid; justify-items: center; text-align: center; gap: 1rem;
}
.hero-icon {
  width: 96px; height: 96px; border-radius: 22%;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.hero h1 {
  margin: .25rem 0 .25rem 0;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1; letter-spacing: .2px;
}
.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
}
.cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }

.section { padding: clamp(2.25rem, 6vw, 4rem) 0; }
.section--alt { background: var(--surface); }

h2 { margin: 0 0 1.2rem 0; font-size: clamp(1.3rem, 2.2vw, 2rem); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.card {
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 .35rem 0; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  padding: .9rem 1rem; border-radius: var(--radius);
  border: 1px dashed var(--border); background: var(--bg);
}
.step-num {
  width: 2rem; height: 2rem; border-radius: 999px;
  display: inline-grid; place-items: center; font-weight: 700;
  color: var(--primary);
  border: 2px solid color-mix(in srgb, var(--primary) 40%, var(--border));
}

.story {
  margin: 0;
  padding: 1.25rem 1.1rem;
  border-left: 4px solid var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, var(--surface));
  border-radius: 8px;
}
.story footer { margin-top: .6rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  margin-top: 2rem;
}
.footer-inner {
  padding: 1.25rem 0;
  display: grid; gap: .6rem; align-items: center; justify-items: start;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-cta { justify-self: end; display: flex; gap: .5rem; flex-wrap: wrap; }
}
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; }
.small { font-size: .85rem; color: var(--muted); }

/* Accessibility */
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45
