/*
Theme Name: Feather Well
Theme URI: https://featherwellhealth.com
Author: Feather Well Health Co.
Author URI: https://featherwellhealth.com
Description: Custom theme for Feather Well Health Co. — mental wellness apps and merch, built around the feather mark and the same brand system used across the company's products.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: feather-well
WC requires at least: 8.0
WC tested up to: 9.0
*/

/* ---------------------------------------------------------------------
   Design tokens — same hex values as the published logo artifact, so
   the site, the logo, and the Anxiety Duckling app read as one brand.
   --------------------------------------------------------------------- */
:root {
  --fw-ink: #402e1f;
  --fw-gold: #ffd941;
  --fw-amber: #f2b826;
  --fw-coral: #fa8c33;
  --fw-sky: #9ed6f2;
  --fw-cream: #fcf3d9;
  --fw-blush: #ffb8bf;

  --fw-page-bg: #fbf6ec;
  --fw-surface: #ffffff;
  --fw-text: #402e1f;
  --fw-text-dim: #7a6a57;
  --fw-border: #e8dcc4;

  --fw-font-display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --fw-font-body: -apple-system, "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --fw-radius-sm: 10px;
  --fw-radius-md: 16px;
  --fw-radius-lg: 24px;

  --fw-space-1: 8px;
  --fw-space-2: 16px;
  --fw-space-3: 24px;
  --fw-space-4: 40px;
  --fw-space-5: 64px;
  --fw-space-6: 96px;

  --fw-content-width: 1120px;
  --fw-prose-width: 68ch;
}

/* ---------------------------------------------------------------------
   Reset + base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fw-page-bg);
  color: var(--fw-text);
  font-family: var(--fw-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--fw-coral); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--fw-sky);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--fw-font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--fw-space-2);
  text-wrap: balance;
  color: var(--fw-ink);
}

p { margin: 0 0 var(--fw-space-2); }

ul, ol { margin: 0 0 var(--fw-space-2); padding-left: 1.3em; }

button, input, textarea, select { font-family: inherit; font-size: inherit; }

table { border-collapse: collapse; max-width: 100%; }

/* ---------------------------------------------------------------------
   WordPress-required utility classes
   --------------------------------------------------------------------- */
.alignleft { float: left; margin: 0 var(--fw-space-2) var(--fw-space-2) 0; }
.alignright { float: right; margin: 0 0 var(--fw-space-2) var(--fw-space-2); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
}

.container {
  max-width: var(--fw-content-width);
  margin: 0 auto;
  padding: 0 var(--fw-space-3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
