/* Eclectic Avenue Studio styles.
   Brand tokens are defined here and only here. Source: docs/03-brand-guide.md.
   Use only the color pairs that docs/03-brand-guide.md lists as passing. */

/* Fonts are hosted with the site, so no visitor data goes to a font service. Licenses are in /fonts. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/open-sans-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  /* Color */
  --sage: #4F594E;
  --deep-green: #394038;
  --orange: #DB7810;
  --sand: #F4E9D3;
  --sand-shade: #EADFC8;
  --navy: #1F2B45;
  --navy-line: #3A4764;
  --deep-navy: #172038;
  --gold: #F2B552;
  --ember: #9A4E08;
  --ember-dark: #7A3D05;
  --ink: #23261F;
  --muted: #5A6158;
  --mist: #E3E7DF;
  --fog: #C3C9D6;
  --white: #FFFFFF;
  --field-border: #8B8F7E;
  --placeholder-line: #A79A7C;
  --error: #A3261A;

  /* Type */
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --size-headline: clamp(44px, 5.4vw, 72px);
  --size-section: clamp(34px, 3.6vw, 46px);
  --size-card: 34px;
  --size-quote: 28px;
  --size-lead: 18px;
  --size-body: 17px;
  --size-small: 15px;
  --size-eyebrow: 14px;

  /* Layout */
  --content-width: 1120px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-space: clamp(64px, 8vw, 84px);
  --radius: 16px;
  --radius-large: 20px;
  --radius-field: 10px;

  /* Context colors. Dark and orange sections change these. */
  --link: var(--ember);
  --link-hover: var(--ember-dark);
  --text-soft: var(--muted);
  --focus-ring: var(--navy);
}

/* ---------- Base ---------- */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: var(--size-headline);
  line-height: 1.02;
  text-wrap: balance;
}

h2 {
  font-size: var(--size-section);
  line-height: 1.1;
}

h3 {
  font-size: var(--size-card);
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: var(--radius-field);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Sections and layout ---------- */

.section {
  padding: var(--section-space) var(--gutter);
}

.section--white {
  background: var(--white);
}

.section--sand {
  background: var(--sand);
}

.section--sage {
  background: var(--sage);
}

.section--deep-green {
  background: var(--deep-green);
}

/* Text and links on sage, deep green, and navy. */
.on-dark,
.section--sage,
.section--deep-green {
  color: var(--white);
  --link: var(--gold);
  --link-hover: var(--white);
  --text-soft: var(--mist);
  --focus-ring: var(--gold);
}

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* A row of items that wraps to one column on a phone. */
.cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 32px;
}

.cols > * {
  flex: 1 1 280px;
  min-width: 0;
}

.cols--wide {
  align-items: center;
  gap: 40px 64px;
}

.cols--wide > * {
  flex-basis: 380px;
}

.cols--tight {
  gap: 24px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

/* A section heading on the left with a short paragraph on the right. */
.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}

.split-head > .section-head {
  flex: 1 1 420px;
  min-width: 0;
}

.split-head__aside {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 460px;
}

.text-soft {
  color: var(--text-soft);
}

.lead {
  font-size: var(--size-lead);
  max-width: 520px;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: var(--size-quote);
  font-weight: 500;
  line-height: 1.3;
  max-width: 520px;
}

/* ---------- Eyebrow and star ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.star {
  flex: none;
  fill: var(--orange);
}

.on-dark .eyebrow,
.section--sage .eyebrow,
.section--deep-green .eyebrow {
  color: var(--sand);
}

.on-dark .star,
.section--sage .star,
.section--deep-green .star {
  fill: var(--gold);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--primary,
.btn--primary:hover {
  background: var(--orange);
  color: var(--deep-navy);
}

.btn--outline,
.btn--outline:hover {
  border-color: var(--sand);
  color: var(--white);
}

.btn--dark,
.btn--dark:hover {
  background: var(--deep-navy);
  color: var(--sand);
}

.btn--small {
  min-height: 44px;
  padding: 0 22px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* A bold text link with a comfortable tap target. */
.more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- Announcement bar ---------- */

.announce {
  padding: 10px 20px;
  background: var(--navy);
  color: var(--sand);
  font-size: var(--size-eyebrow);
  text-align: center;
  --focus-ring: var(--gold);
}

.announce a {
  color: var(--gold);
  font-weight: 600;
}

.announce a:hover {
  color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 12px var(--gutter);
  background: var(--sage);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.brand img {
  flex: none;
  width: 48px;
  height: 48px;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 26px;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid transparent;
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--white);
  border-bottom-color: var(--mist);
}

.site-nav__link[aria-current="page"] {
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* On small screens, the menu folds behind the Menu button. Without JavaScript it stays open. */
@media (max-width: 959px) {
  /* Keeps the Menu button beside the name. The name wraps to two lines on small phones. */
  .brand {
    flex: 1 1 0;
    min-width: 0;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .js .site-nav {
    display: none;
  }

  .js .nav-toggle[aria-expanded="true"] + .site-nav {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 12px;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__link {
    width: 100%;
    font-size: 18px;
  }

  .site-nav .btn {
    align-self: flex-start;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 22px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px var(--gutter) 84px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero .lead {
  color: var(--text-soft);
}

/* ---------- Photos ---------- */

.photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-shade);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stands in for a photo Jen has not supplied yet. */
.photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1.5px dashed var(--placeholder-line);
  color: var(--sage);
  font-size: var(--size-small);
  text-align: center;
}

.photo--wide {
  aspect-ratio: 16 / 9;
  max-width: 520px;
}

.illustration {
  margin: 0;
}

.illustration img {
  width: 100%;
  border-radius: var(--radius-large);
}

/* For small source files, such as the storefront, that blur when stretched. */
.illustration--small img {
  max-width: 312px;
  margin: 0 auto;
}

/* ---------- Feature cards: Find, Make, Build, and the merch offers ---------- */

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature h3 {
  margin-top: 6px;
}

.price {
  font-weight: 600;
  color: var(--sage);
}

/* ---------- Package cards on sage ---------- */

.package {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--deep-green);
}

.package p {
  color: var(--mist);
}

.package .price {
  margin-top: 8px;
  color: var(--gold);
}

/* ---------- Website offer on Services ---------- */

.stack--tight {
  gap: 20px;
}

.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 56px;
}

.offer__text {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.offer > .photo {
  flex: 1 1 320px;
}

.offer__title {
  font-size: 30px;
}

.star-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.star-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.star-list .star {
  position: relative;
  top: 2px;
}

/* ---------- Hosting options: two cards with equal weight ---------- */

.hosting {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.hosting__option {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--sand);
}

.hosting__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

.hosting__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.hosting__fit {
  font-weight: 600;
}

.section--sage .hosting__option {
  background: var(--deep-green);
}

.section--sage .hosting__list {
  color: var(--mist);
}

/* ---------- Steps ---------- */

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 2px solid var(--sage);
}

.step__number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--sage);
}

.step__title {
  font-weight: 600;
}

.step__text {
  color: var(--muted);
}

/* ---------- Quote band ---------- */

.band {
  padding: 64px var(--gutter);
  background: var(--orange);
  color: var(--deep-navy);
  --link: var(--deep-navy);
  --link-hover: var(--deep-navy);
  --focus-ring: var(--deep-navy);
}

.band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}

.band__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.band h2 {
  font-weight: 700;
}

.band p {
  max-width: 560px;
  font-weight: 600;
}

/* ---------- Forms ---------- */

.form-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-large);
  background: var(--white);
}

/* Fields side by side line up their boxes, even when one label wraps. */
.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

.form-row > .field {
  flex: 1 1 200px;
  min-width: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label,
.field__label {
  font-size: var(--size-small);
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field__hint {
  font-size: var(--size-small);
  color: var(--muted);
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-field);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea.input {
  resize: vertical;
}

.input[type="file"] {
  border-style: dashed;
}

.input[aria-invalid="true"] {
  border: 2px solid var(--error);
}

.field__error {
  font-size: var(--size-small);
  font-weight: 600;
  color: var(--error);
}

.field__error:empty {
  display: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--size-small);
}

.check label {
  font-weight: 400;
}

.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--sage);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

/* The questionnaire: a wider card split into titled groups. */
.form-card--wide {
  max-width: 860px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-shade);
}

.form-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.form-group__title {
  font-size: 30px;
}

/* A question with checkboxes or radio buttons. */
.choices {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choices legend {
  margin-bottom: 6px;
  padding: 0;
}

.choices__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 4px 20px;
}

.choices .check {
  min-height: 44px;
  align-items: center;
}

.choices .check input {
  margin-top: 0;
}

.choices .hosting,
.choices .hosting__intro {
  margin-bottom: 12px;
}

.form-actions .btn[disabled] {
  cursor: progress;
}

/* Lists every error at the top of a form. Each item links to its field. */
.error-summary {
  padding: 16px 20px;
  border: 2px solid var(--error);
  border-radius: var(--radius-field);
  background: var(--white);
  --link: var(--error);
  --link-hover: var(--ink);
}

.error-summary__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: 600;
  line-height: 1.5;
  color: var(--error);
}

.error-summary ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.error-summary ul:empty {
  display: none;
}

.error-summary li + li {
  margin-top: 4px;
}

.error-summary a {
  font-weight: 600;
}

.form-sent {
  align-self: flex-start;
}

/* The spam trap field. Off screen for people, still in the page for bots. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Request a Quote layout ---------- */

.quote-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}

.quote-layout__intro {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-layout > .form-card {
  flex: 1.4 1 420px;
  min-width: 0;
}

.quote-layout__subhead {
  font-size: 28px;
}

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

/* ---------- Reading text ---------- */

/* Keeps paragraphs to a comfortable line length. */
.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}

/* A narrow column still lines up with the left edge of the wider sections around it. */
.section .wrap.prose,
.section .wrap.faq,
.section .wrap.section-head {
  margin-left: max(0px, calc((100% - var(--content-width)) / 2));
  margin-right: auto;
}

/* ---------- About: founder ---------- */

.founder {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 40px;
}

.founder__photo {
  flex: none;
  margin: 0;
}

/* The source photo is 150 pixels, so it never shows larger. */
.founder__photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.founder .prose {
  flex: 1 1 320px;
  min-width: 0;
}

.founder__sign {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
}

/* ---------- Shop: marketplace cards ---------- */

.market-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--sand);
}

.market-card p {
  flex: 1;
}

.market-card__name {
  font-size: var(--size-card);
}

/* ---------- FAQ ---------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--sand-shade);
}

.section--sand .faq__item {
  border-top-color: var(--placeholder-line);
}

.faq__item h3 {
  font-family: var(--font-body);
  font-size: var(--size-lead);
  font-weight: 600;
  line-height: 1.4;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px var(--gutter) 28px;
  background: var(--navy);
  color: var(--fog);
  font-size: var(--size-small);
  --link: var(--fog);
  --link-hover: var(--white);
  --focus-ring: var(--gold);
}

.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 56px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-footer__cols > * {
  flex: 1 1 160px;
  min-width: 0;
}

.site-footer__brand {
  flex: 2 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__brand img {
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
}

.site-footer__name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

.site-footer__heading {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  display: flex;
  align-items: center;
  min-height: 32px;
}

.site-footer a {
  overflow-wrap: break-word;
}

/* Room for the email address on one line. */
.site-footer__cols > .site-footer__col:last-child {
  flex-basis: 240px;
}

.site-footer .site-footer__quote {
  color: var(--gold);
  font-weight: 600;
}

.site-footer__legal {
  max-width: var(--content-width);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--navy-line);
  font-size: 14px;
}

/* A note that appears under a row of fields, such as the questionnaire link on the quote form.
   It sits close to the row above, and takes almost no space while hidden. */
.reveal {
  margin-top: -14px;
}

/* ---------- Policy pages ---------- */

.policy h1 {
  font-size: var(--size-section);
}

.policy h2 {
  margin-top: 16px;
  font-size: 30px;
}

.policy ul,
.policy ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

/* Shows only on the local preview, on a policy that is not approved yet. */
.draft-banner {
  padding: 14px 18px;
  border: 2px solid var(--error);
  border-radius: var(--radius-field);
  color: var(--error);
}

/* ---------- Before and after sample ---------- */

.before-after {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.before-after__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}

.before-after__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.before-after__label {
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.before-after__caption {
  font-size: var(--size-small);
  color: var(--text-soft);
}

/* The referral line under the hosting options on Services. */
.referral {
  font-weight: 600;
}

/* A group of single checkboxes, such as Permissions, drawn like the other groups. */
.form-group--fieldset {
  margin: 0;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--sand-shade);
  min-width: 0;
}

.form-group--fieldset legend {
  float: left;
  width: 100%;
  padding: 0;
}

.form-group--fieldset legend + * {
  clear: both;
}

/* A checkbox row at least 48 pixels tall. Clicking the words ticks the box. */
.check--tall {
  min-height: 48px;
  align-items: center;
}

.check--tall input {
  margin-top: 0;
}

.check--tall label {
  padding: 8px 0;
  cursor: pointer;
}

/* ---------- Optional extras on Services ---------- */

.extras {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--sand);
}

.extra p {
  flex: 1;
}

.extra__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}

.extra__prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: var(--sage);
}

.section--sage .extra {
  background: var(--deep-green);
}

.section--sage .extra p {
  color: var(--mist);
}

.section--sage .extra__prices {
  color: var(--gold);
}

.extras__notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

/* A field that needs no more than a short box, such as a date. */
.field--short {
  max-width: 360px;
}

/* A hero with no picture beside it. */
.hero__text--solo {
  max-width: var(--content-width);
}

.hero__text--solo .lead {
  max-width: 620px;
}

/* A feature card without a photo: a rule above, like the steps. */
.feature--ruled {
  padding-top: 18px;
  border-top: 2px solid var(--sage);
}

.feature--ruled h3 {
  margin-top: 0;
}

/* ---------- Website estimator on Services ---------- */

/* A light card on the sage section, so it reads as its own tool. */
.estimator {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-large);
  background: var(--sand);
  color: var(--ink);
  --link: var(--ember);
  --link-hover: var(--ember-dark);
  --focus-ring: var(--navy);
}

.estimator__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 40px;
}

.estimator__choices {
  flex: 2 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.estimator__group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.estimator__group legend {
  margin-bottom: 4px;
  padding: 0;
  font-weight: 600;
}

.estimator__sub {
  margin-left: 34px;
}

.estimator__sub input:disabled + label {
  color: var(--muted);
}

.estimator__qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 56px;
}

.estimator__qty .input {
  width: 96px;
}

/* The totals stay in view beside the choices on wide screens. */
.estimator__summary {
  flex: 1 1 260px;
  min-width: 0;
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
}

.estimator__totals p {
  margin: 0;
}

.estimator__label {
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.estimator__amount {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: lining-nums;
  color: var(--sage);
}

.estimator__amount + .estimator__label {
  margin-top: 12px;
}

.estimator__explain {
  margin-top: 4px;
  font-size: var(--size-small);
  color: var(--muted);
}

/* The word "or" between the two hosting choices. */
.estimator__or {
  margin: 0 0 0 34px;
  font-size: var(--size-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.estimator__notes {
  margin: 0;
  padding-left: 20px;
  font-size: var(--size-small);
  color: var(--muted);
}

.estimator__notes:empty {
  display: none;
}

.estimator__explain + .estimator__label {
  margin-top: 18px;
}

/* "Option 1" and "Option 2" above the two ways to pay for a website. */
.hosting__option-label {
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.section--sage .hosting__option-label {
  color: var(--gold);
}
