/*
 * Shared light floral-glamour design system for thecandid-review.org
 */

:root {
    color-scheme: light;

    --ivory-50: #fffdf8;
    --ivory-100: #fbf6ec;
    --ivory-200: #f4eadb;
    --blush-100: #f7e4df;
    --blush-200: #edc7bf;
    --blush-300: #dca89f;
    --lavender-200: #c9b6cf;
    --sage-100: #e3e5d8;
    --sage-200: #c7cdb8;
    --sage-400: #89957a;
    --sage-600: #596b55;
    --forest-600: #294b3c;
    --forest-700: #1d3d31;
    --forest-800: #18352b;
    --forest-900: #10271f;
    --copper-500: #a85b34;
    --copper-600: #8f4828;
    --champagne-200: #f2dca9;
    --champagne-300: #e8c77d;
    --champagne-400: #d7ab58;
    --taupe-200: #d9cfc0;
    --taupe-300: #c1b3a1;
    --taupe-500: #8b7d6c;
    --ink: #26372f;
    --ink-muted: #526158;
    --white: #ffffff;

    --surface-page: var(--ivory-100);
    --surface-panel: var(--ivory-50);
    --surface-soft: #f8f0e5;
    --text-primary: var(--ink);
    --text-secondary: var(--ink-muted);
    --border-soft: #d8cbbb;
    --focus-ring: #bd743d;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

    --shadow-soft: 0 12px 35px rgba(37, 51, 42, 0.1);
    --shadow-panel: 0 20px 60px rgba(45, 54, 45, 0.13);
    --shadow-button: 0 10px 24px rgba(151, 91, 42, 0.25);
    --shadow-header: 0 5px 18px rgba(16, 39, 31, 0.13);

    --radius-sm: 0.55rem;
    --radius-md: 1rem;
    --radius-lg: 1.75rem;
    --radius-xl: 2.75rem;
    --radius-pill: 999px;

    --container: 74rem;
    --container-wide: 90rem;
    --reading-width: 47rem;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    --transition-fast: 160ms ease;
    --transition-base: 280ms ease;
    --transition-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);

    --header-bottom: 4.75rem;
}

/* ============================================
   FOUNDATION AND OVERFLOW PREVENTION
   ============================================ */

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    background: var(--forest-900);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 8%, rgba(237, 199, 191, 0.24), transparent 24rem),
        radial-gradient(circle at 92% 26%, rgba(201, 182, 207, 0.16), transparent 28rem),
        var(--surface-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
video,
iframe,
embed,
object,
svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre,
code,
.code-block,
[class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p,
li,
td,
th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
a:not([class]) {
    color: var(--copper-600);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
a:not([class]):hover {
    color: var(--forest-700);
}

input,
textarea,
select {
    max-width: 100%;
}

section {
    position: relative;
    overflow: clip;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--champagne-200);
    color: var(--forest-900);
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 4px;
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--forest-800);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    text-wrap: balance;
}

h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.35rem, 9vw, 4.8rem);
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 7vw, 3.5rem);
    letter-spacing: -0.028em;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.35rem, 4vw, 2rem);
    letter-spacing: -0.015em;
}

h4 {
    margin-bottom: 0.65rem;
    font-size: 1.18rem;
}

p {
    margin-bottom: 1rem;
}

ul,
ol {
    padding-left: 1.35rem;
}

small {
    font-size: 0.875rem;
}

main {
    display: block;
    min-height: 50vh;
}

[id] {
    scroll-margin-top: 6rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--forest-900);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transform: translateY(-180%);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
}

/* ============================================
   SHARED LAYOUT PRIMITIVES
   ============================================ */

.container,
.container-wide,
.reading-width {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.container-wide {
    max-width: var(--container-wide);
}

.reading-width {
    max-width: var(--reading-width);
}

.section {
    padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section--compact {
    padding-block: clamp(3rem, 7vw, 5rem);
}

.section--ivory {
    background: var(--ivory-100);
}

.section--cream {
    background: var(--ivory-50);
}

.section--blush {
    background:
        radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.8), transparent 20rem),
        var(--blush-100);
}

.section--forest {
    background: var(--forest-800);
    color: var(--ivory-100);
}

.section--forest :is(h1, h2, h3, h4) {
    color: var(--ivory-50);
}

.prose {
    max-width: var(--reading-width);
    color: var(--text-primary);
    font-size: 1.05rem;
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose-lead {
    color: var(--forest-700);
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.surface-panel {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--surface-panel);
    box-shadow: var(--shadow-panel);
}

.arch-panel {
    position: relative;
    border: 1px solid var(--sage-400);
    border-radius: 8rem 8rem var(--radius-lg) var(--radius-lg);
    background: var(--surface-panel);
    box-shadow: var(--shadow-soft);
}

.garden-frame {
    position: relative;
    isolation: isolate;
}

.garden-frame::before,
.garden-frame::after {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    width: clamp(1.25rem, 5vw, 5rem);
    content: "";
    background:
        repeating-linear-gradient(45deg, transparent 0 9px, rgba(89, 107, 85, 0.42) 9px 12px),
        repeating-linear-gradient(-45deg, transparent 0 9px, rgba(89, 107, 85, 0.42) 9px 12px),
        var(--sage-100);
}

.garden-frame::before {
    left: 0;
}

.garden-frame::after {
    right: 0;
}

.editorial-rule {
    width: min(9rem, 35vw);
    height: 3px;
    margin: 1.5rem auto;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--champagne-400), transparent);
}

.media-environment {
    position: relative;
    isolation: isolate;
    min-height: 30rem;
}

.media-environment__background {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.media-environment::after {
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 50%;
    content: "";
    pointer-events: none;
    background: linear-gradient(to top, rgba(16, 39, 31, 0.78), transparent);
}

.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.7rem;
}

.check-list li::before {
    position: absolute;
    top: 0.35rem;
    left: 0;
    width: 0.85rem;
    height: 0.5rem;
    content: "";
    border-bottom: 2px solid var(--forest-600);
    border-left: 2px solid var(--forest-600);
    transform: rotate(-45deg);
}

/* ============================================
   FLORAL BRAND MOTIF
   ============================================ */

.floral-arch {
    display: block;
    color: var(--sage-600);
    overflow: visible;
}

.floral-arch__outer {
    stroke-width: 7;
}

.floral-arch__inner {
    stroke-width: 3;
}

.floral-arch__stem {
    stroke-width: 2.5;
}

.floral-arch__leaves {
    fill: var(--sage-600);
    stroke: var(--forest-800);
    stroke-width: 1.2;
}

.floral-arch__flowers {
    fill: var(--blush-200);
    stroke: var(--copper-600);
    stroke-width: 1.25;
}

.site-brand {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    color: var(--copper-600);
    text-decoration: none;
}

.site-brand__arch {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 100%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.site-brand__text {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.site-brand:hover .site-brand__text {
    color: var(--copper-500);
}

/* ============================================
   SITE HEADER AND MOBILE NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    box-shadow: var(--shadow-header);
}

.site-header::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: var(--ivory-100);
}

.site-header__masthead {
    min-height: 4.75rem;
    border-bottom: 1px solid rgba(137, 149, 122, 0.35);
    background:
        radial-gradient(circle at 22% 25%, rgba(237, 199, 191, 0.18), transparent 12rem),
        radial-gradient(circle at 78% 15%, rgba(201, 182, 207, 0.13), transparent 12rem),
        var(--ivory-100);
}

.site-header__masthead-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100% - 1rem, var(--container-wide));
    min-height: 4.75rem;
    margin-inline: auto;
}

.site-brand--header {
    width: 9.4rem;
    height: 4rem;
}

.site-brand--header .site-brand__arch {
    width: 9.2rem;
}

.site-brand--header .site-brand__text {
    padding-top: 0.22rem;
    font-size: 2rem;
}

.menu-toggle {
    position: absolute;
    right: 0.25rem;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.3rem;
    width: 2.9rem;
    min-width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    border: 1px solid var(--sage-400);
    border-radius: 50%;
    background: var(--ivory-50);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 39, 31, 0.08);
}

.menu-toggle__line {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--forest-800);
    transition:
        transform var(--transition-base),
        opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
    transform: translateY(0.44rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
    transform: translateY(-0.44rem) rotate(-45deg);
}

.site-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-bottom);
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--forest-900);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity var(--transition-base),
        visibility var(--transition-base);
}

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.site-nav__inner {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    padding-block: 1.5rem 3rem;
}

.site-nav__list {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(227, 229, 216, 0.26);
    border-radius: var(--radius-pill);
    color: var(--ivory-100);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link[aria-current="page"] {
    border-color: var(--champagne-300);
    background: var(--champagne-300);
    color: var(--forest-900);
}

.site-nav__action {
    padding-top: 0.6rem;
}

/* ============================================
   BUTTONS AND CTA GROUPS
   ============================================ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3rem;
    padding: 0.8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.button svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-fast);
}

.button:hover {
    transform: translateY(-2px);
}

.button:hover svg {
    transform: translateX(3px);
}

.button:active {
    transform: translateY(0);
}

.button--primary,
.button--champagne,
.button--nav {
    background: linear-gradient(135deg, var(--champagne-200), var(--champagne-400));
    color: var(--forest-900);
    box-shadow: var(--shadow-button);
}

.button--primary:hover,
.button--champagne:hover,
.button--nav:hover {
    background: linear-gradient(135deg, #f8e6bd, var(--champagne-300));
    box-shadow: 0 13px 30px rgba(151, 91, 42, 0.32);
}

.button--secondary {
    border-color: var(--forest-700);
    background: var(--ivory-50);
    color: var(--forest-800);
}

.button--secondary:hover {
    background: var(--forest-800);
    color: var(--ivory-50);
}

.button--forest {
    background: var(--forest-800);
    color: var(--ivory-50);
    box-shadow: 0 10px 24px rgba(16, 39, 31, 0.22);
}

.button--forest:hover {
    background: var(--forest-700);
}

.button--nav {
    width: 100%;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
}

.cta-group__note {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.section--forest .cta-group__note,
.media-environment .cta-group__note {
    color: var(--ivory-100);
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-heading {
    width: min(100%, 52rem);
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--left {
    margin-right: auto;
    text-align: left;
}

.section-heading__eyebrow {
    margin-bottom: 0.75rem;
    color: var(--copper-600);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-heading__title {
    margin-bottom: 0.8rem;
}

.section-heading__flourish {
    display: flex;
    align-items: center;
    justify-content: inherit;
    gap: 0.5rem;
    width: min(100%, 19rem);
    margin: 0.8rem auto 1.15rem;
    color: var(--champagne-400);
}

.section-heading--left .section-heading__flourish {
    margin-left: 0;
}

.section-heading__flourish > span {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
}

.section-heading__flourish > span:last-child {
    background: linear-gradient(90deg, currentColor, transparent);
}

.section-heading__flourish svg {
    flex: 0 0 2.15rem;
    width: 2.15rem;
    fill: var(--blush-200);
    stroke: currentColor;
    stroke-width: 1.3;
}

.section-heading__intro {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.14rem);
    line-height: 1.65;
}

.section-heading__intro > :last-child {
    margin-bottom: 0;
}

.section--forest .section-heading__eyebrow {
    color: var(--champagne-300);
}

.section--forest .section-heading__intro {
    color: var(--sage-100);
}

/* ============================================
   FACT PILLS
   ============================================ */

.fact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.8rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(89, 107, 85, 0.38);
    border-radius: var(--radius-pill);
    background: var(--ivory-50);
    color: var(--forest-800);
    box-shadow: 0 5px 15px rgba(16, 39, 31, 0.08);
}

.fact-pill__icon {
    width: 1.35rem;
    height: 1.35rem;
    padding: 0.2rem;
    border-radius: 50%;
    background: var(--champagne-200);
    fill: none;
    stroke: var(--forest-800);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fact-pill span {
    display: grid;
    line-height: 1.2;
}

.fact-pill strong {
    font-size: 0.92rem;
}

.fact-pill small {
    margin-top: 0.2rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

/* ============================================
   NOTICE PANELS
   ============================================ */

.notice-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--sage-400);
    border-top: 4px solid var(--champagne-400);
    border-radius: var(--radius-md);
    background: var(--ivory-50);
    box-shadow: var(--shadow-soft);
}

.notice-panel--blush {
    border-color: var(--blush-300);
    border-top-color: var(--copper-500);
    background: var(--blush-100);
}

.notice-panel--champagne {
    border-color: var(--champagne-400);
    background: #fff9e9;
}

.notice-panel__icon {
    width: 2.5rem;
    height: 2.5rem;
    fill: none;
    stroke: var(--forest-700);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notice-panel__stem {
    stroke: var(--sage-600);
}

.notice-panel h3 {
    margin: 0 0 0.45rem;
    font-size: 1.3rem;
}

.notice-panel__content > :last-child {
    margin-bottom: 0;
}

/* ============================================
   FAQ AND NATIVE DISCLOSURES
   ============================================ */

.faq-list {
    display: grid;
    align-items: start;
    gap: 0.75rem;
}

.faq-item {
    align-self: start;
    border: 1px solid var(--taupe-300);
    border-radius: var(--radius-md);
    background: var(--ivory-50);
    box-shadow: 0 5px 16px rgba(50, 56, 49, 0.06);
    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--sage-400);
    background: #fff9f5;
}

.faq-item[open] {
    border-color: var(--blush-300);
    background: var(--blush-100);
    box-shadow: var(--shadow-soft);
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 1rem 1.1rem;
    color: var(--forest-800);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    content: "";
}

.faq-item summary:focus-visible {
    border-radius: var(--radius-md);
    outline-offset: 2px;
}

.faq-item__indicator {
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
    color: var(--forest-700);
}

.faq-item__indicator::before,
.faq-item__indicator::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.85rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform var(--transition-base);
}

.faq-item__indicator::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__indicator::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-item__answer {
    padding: 0 1.1rem 1.2rem;
    color: var(--text-secondary);
}

.faq-item__answer > :last-child {
    margin-bottom: 0;
}

@supports selector(details::details-content) {
    .faq-item::details-content {
        block-size: 0;
        overflow: clip;
        transition:
            block-size var(--transition-base),
            content-visibility var(--transition-base) allow-discrete;
    }

    .faq-item[open]::details-content {
        block-size: auto;
    }
}

/* ============================================
   TABLES
   ============================================ */

.table-wrapper {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--ivory-50);
    box-shadow: var(--shadow-soft);
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
    font-size: 0.96rem;
}

caption {
    padding: 1rem;
    color: var(--text-secondary);
    text-align: left;
}

th,
td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--taupe-200);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--sage-100);
    color: var(--forest-900);
    font-weight: 700;
}

thead th:first-child {
    border-top-left-radius: var(--radius-md);
}

thead th:last-child {
    border-top-right-radius: var(--radius-md);
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: #fffaf5;
}

/* ============================================
   SITE FOOTER
   ============================================ */

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0, rgba(232, 199, 125, 0.1), transparent 25rem),
        var(--forest-900);
    color: var(--sage-100);
}

.site-footer__ornament {
    display: flex;
    justify-content: center;
    height: 3rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(199, 205, 184, 0.22);
}

.floral-arch--footer {
    width: 11rem;
    margin-top: -1.45rem;
    color: var(--sage-400);
}

.floral-arch--footer .floral-arch__flowers {
    fill: var(--blush-300);
}

.site-footer__inner {
    display: grid;
    gap: 2.5rem;
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    padding-block: 3rem;
}

.site-brand--footer {
    justify-items: start;
    width: 9rem;
    height: 3.5rem;
    color: var(--champagne-300);
}

.site-brand--footer .site-brand__arch {
    display: none;
}

.site-brand--footer .site-brand__text {
    font-size: 2.55rem;
}

.site-footer__label {
    margin: 0.6rem 0 0;
    color: var(--champagne-300);
    font-weight: 700;
}

.site-footer__summary {
    max-width: 29rem;
    margin: 0.7rem 0 0;
    color: var(--sage-100);
}

.site-footer__heading {
    margin-bottom: 0.75rem;
    color: var(--champagne-300);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.site-footer__nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--ivory-100);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--champagne-300);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__action {
    align-self: start;
}

.site-footer__action-note {
    margin: 0.65rem 0 0;
    color: var(--sage-200);
    font-size: 0.88rem;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    padding-block: 1.25rem;
    border-top: 1px solid rgba(199, 205, 184, 0.22);
    color: var(--sage-200);
    font-size: 0.85rem;
}

.site-footer__bottom p {
    margin: 0;
}

/* ============================================
   REVEAL MOTION
   ============================================ */

.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(1.25rem);
    transition:
        opacity var(--transition-slow),
        transform var(--transition-slow);
}

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TABLET
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-bottom: 11.8rem;
    }

    html {
        scroll-padding-top: 12.5rem;
    }

    [id] {
        scroll-margin-top: 12.5rem;
    }

    .container,
    .container-wide,
    .reading-width {
        width: min(100% - 3rem, var(--container));
    }

    .container-wide {
        max-width: var(--container-wide);
    }

    .reading-width {
        max-width: var(--reading-width);
    }

    .site-header__masthead {
        min-height: 8rem;
    }

    .site-header__masthead-inner {
        min-height: 8rem;
    }

    .site-brand--header {
        width: 18rem;
        height: 7.5rem;
    }

    .site-brand--header .site-brand__arch {
        width: 18rem;
    }

    .site-brand--header .site-brand__text {
        padding-top: 0.55rem;
        font-size: 4rem;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        height: auto;
        overflow: visible;
        background: var(--forest-900);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav__inner {
        width: min(100% - 3rem, var(--container));
        padding-block: 0.55rem;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .site-nav__link {
        min-height: 2.75rem;
        padding-inline: 1.15rem;
        border-color: transparent;
        background: rgba(255, 253, 248, 0.09);
        font-size: 0.95rem;
    }

    .site-nav__action {
        padding: 0;
        margin-left: 0.4rem;
    }

    .button--nav {
        width: auto;
        min-height: 2.75rem;
        padding: 0.65rem 1.1rem;
    }

    .legal-page .site-header__masthead {
        min-height: 6.5rem;
    }

    .legal-page .site-header__masthead-inner {
        min-height: 6.5rem;
    }

    .legal-page .site-brand--header {
        width: 14rem;
        height: 6rem;
    }

    .legal-page .site-brand--header .site-brand__arch {
        width: 14rem;
    }

    .legal-page .site-brand--header .site-brand__text {
        font-size: 3.2rem;
    }

    .notice-panel {
        padding: 1.5rem;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1.5fr) minmax(10rem, 0.7fr) minmax(14rem, 0.8fr);
        align-items: start;
        width: min(100% - 3rem, var(--container));
        padding-block: 4rem;
    }

    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        width: min(100% - 3rem, var(--container));
    }
}

/* ============================================
   DESKTOP
   ============================================ */

@media (min-width: 1024px) {
    body {
        font-size: 1.04rem;
    }

    .site-header__masthead {
        min-height: 8.6rem;
    }

    .site-header__masthead-inner {
        min-height: 8.6rem;
    }

    .site-brand--header {
        width: 20rem;
        height: 8rem;
    }

    .site-brand--header .site-brand__arch {
        width: 20rem;
    }

    .site-brand--header .site-brand__text {
        font-size: 4.5rem;
    }

    .site-nav__list {
        gap: 1rem;
    }

    .site-nav__link {
        min-width: 10rem;
        justify-content: center;
    }

    .button {
        min-height: 3.15rem;
        padding-inline: 1.5rem;
    }

    .section-heading__intro {
        max-width: 46rem;
        margin-inline: auto;
    }

    .section-heading--left .section-heading__intro {
        margin-left: 0;
    }

    .garden-frame {
        padding-inline: clamp(3rem, 6vw, 6rem);
    }
}

@media (min-width: 1280px) {
    .site-nav__inner {
        width: min(100% - 4rem, var(--container-wide));
    }

    .site-nav__list {
        gap: 1.25rem;
    }

    .site-nav__link {
        min-width: 11rem;
    }
}

/* ============================================
   NARROW MOBILE SAFETY
   ============================================ */

@media (max-width: 374px) {
    .site-header__masthead-inner {
        justify-content: flex-start;
        padding-left: 0.25rem;
    }

    .site-brand--header {
        width: 8rem;
    }

    .site-brand--header .site-brand__arch {
        width: 8rem;
    }

    .site-brand--header .site-brand__text {
        font-size: 1.75rem;
    }

    .button {
        width: 100%;
    }

    .notice-panel {
        grid-template-columns: 1fr;
    }

    .notice-panel__icon {
        width: 2.15rem;
        height: 2.15rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .button:hover {
        transform: none;
    }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
    .site-header,
    .site-footer,
    .skip-link,
    .button,
    .cta-group {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
        font-size: 11pt;
    }

    main {
        min-height: 0;
    }

    h1,
    h2,
    h3,
    h4 {
        color: #000000;
    }

    a {
        color: #000000;
    }

    .surface-panel,
    .notice-panel,
    .faq-item,
    .table-wrapper {
        box-shadow: none;
    }

    section {
        overflow: visible;
    }
}