/* Shoreline Neighbor
   Paper, olive, emerald, terracotta. Mobile first.
   Fraunces and Source Sans 3 are SIL Open Font License (see fonts/OFL.txt). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}

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

:root {
  --paper: #f6f1e7;
  --paper-deep: #ebe3d4;
  --card: #fffcf7;
  --ink: #2c321f;
  --muted: #4a5140;
  --olive: #4e5636;
  --olive-deep: #333a22;
  --sage-mist: #e4e8da;
  --line: #ddd4c4;
  --line-strong: #c9bfae;
  --emerald: #1c5c3e;
  --emerald-deep: #143f2c;
  --sun: #c98462;
  --terracotta: #8e4630;
  --terracotta-dark: #743a27;
  --cream: #fffcf7;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 72rem;
  --header: 4.5rem;
  --radius: 1.15rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--olive-deep);
  font-variant-ligatures: none;
}

h1 {
  font-size: clamp(2.05rem, 4.3vw, 3.35rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p + p {
  margin-top: 0.85rem;
}

a {
  color: var(--emerald);
  text-underline-offset: 0.18em;
}

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

a:visited {
  color: var(--emerald);
}

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

::selection {
  background: #d5decc;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

section[id],
article[id] {
  scroll-margin-top: 5.25rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

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

.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.section-head p:last-child,
.prose {
  color: var(--ink);
}

.lede,
.prose p,
.offer-desc,
.step p,
.points p,
.plan p,
.faq p,
.contact-copy p {
  color: var(--muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--emerald);
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sun);
  flex: none;
}

.section-head h2 + p,
.prose h2 + p,
h2 + .lede {
  margin-top: 0.85rem;
}

.lede {
  font-size: 1.125rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 231, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.rule {
  height: 0.4rem;
  background: var(--emerald);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-height: var(--header);
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  min-width: 0;
  color: var(--olive-deep);
  text-decoration: none;
}

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

.brand img {
  width: 2.5rem;
  height: 2.5rem;
}

.brand-name {
  display: block;
  max-width: 6.6rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-tag {
  display: none;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--olive-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
}

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

.js .site-nav.is-open {
  display: flex;
}

.site-nav a:not(.nav-cta) {
  color: var(--olive-deep);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid var(--line);
}

.site-nav a:not(.nav-cta):hover {
  color: var(--terracotta);
}

.cta-short {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.65rem;
  border-bottom: 0;
}

@media (max-width: 359px) {
  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
}

.btn-primary,
.btn-primary:visited,
.btn-primary:hover {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
}

.btn-ghost,
.btn-ghost:visited {
  background: transparent;
  color: var(--olive-deep);
  border-color: var(--olive);
}

.btn-ghost:hover {
  background: var(--sage-mist);
  color: var(--olive-deep);
}

.btn-small {
  min-height: 2.75rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.92rem;
}

.btn-primary:focus-visible,
.nav-toggle:focus-visible {
  outline-color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.fine {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Hero */

.hero {
  padding: 2.25rem 0 2.5rem;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(138, 148, 116, 0.28), transparent 52%),
    radial-gradient(ellipse at 0% 100%, rgba(201, 132, 98, 0.16), transparent 42%),
    var(--paper);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero-figure {
  margin: 0;
  justify-self: center;
  width: min(100%, 22rem);
}

.hero-figure img {
  width: 100%;
  height: auto;
}

.hero .lede {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--ink);
}

/* Points */

.points {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.points li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
}

.points h3 {
  margin-bottom: 0.35rem;
}

/* Steps */

.steps {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.3rem;
}

.step-num {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.4rem;
}

/* Shops and hosts */

.split {
  display: grid;
  gap: 1.35rem;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.menu a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.menu a:hover {
  color: var(--terracotta);
}

.menu strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--olive-deep);
}

.menu span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.bridge {
  padding: 0.5rem 0 0.25rem;
}

.bridge-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--sage-mist);
  border-radius: var(--radius);
}

.bridge p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: var(--olive-deep);
}

.band-mist {
  background: var(--sage-mist);
}

/* AI */

.ai {
  background: var(--emerald-deep);
  color: #f6f1e7;
}

.ai h2,
.ai .eyebrow {
  color: #f6f1e7;
}

.ai .eyebrow::before {
  background: var(--sun);
}

.ai .lede,
.ai p,
.ai li {
  color: #f3efe6;
}

.ai a {
  color: #f6f1e7;
}

.ai a:hover,
.ai a:visited {
  color: #f6d7c8;
}

.ai :focus-visible {
  outline-color: #f6f1e7;
}

.quote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: #fffcf7;
}

.quote figcaption {
  margin-top: 0.75rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: #f0d8cc;
}

.addon-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.addon-links a {
  font-weight: 600;
}

@media (min-width: 700px) {
  .addon-links {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}

.ai .btn-primary,
.ai .btn-primary:visited,
.ai .btn-primary:hover {
  background: var(--terracotta);
  color: var(--cream);
}

/* Pricing */

.price-legend {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--ink);
}

.tabs {
  display: none;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0.4rem;
}

.js .tabs {
  display: flex;
}

.tabs button {
  min-height: 2.75rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--olive-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--paper);
}

.price-panel {
  padding-top: 0.4rem;
}

.js .price-panel {
  display: none;
}

.js .price-panel.is-active {
  display: block;
}

.panel-title {
  margin: 1.1rem 0 0.35rem;
}

.offer {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.offer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.35rem 1.25rem;
}

.offer-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.offer h4,
.plan h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--olive-deep);
}

.offer-price {
  text-align: right;
  flex: none;
  margin-left: auto;
}

.now {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--olive-deep);
}

.now small {
  display: block;
  margin-top: 0.12rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.later,
.extra {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.strike {
  text-decoration-line: line-through;
  text-decoration-thickness: 1.5px;
}

.offer-desc {
  margin-top: 0.35rem;
  max-width: 42rem;
}

.plan-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.plan.is-featured {
  border-color: var(--emerald);
  box-shadow: inset 0 0 0 1px var(--emerald);
}

.plan-tag {
  align-self: flex-start;
  margin: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--emerald-soft, #e5f0e8);
  background: #e5f0e8;
  color: var(--emerald-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan h4 {
  font-size: 1.45rem;
}

.plan ul {
  margin: 0.2rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plan .offer-price {
  text-align: left;
}

.price-close {
  margin-top: 1.25rem;
  color: var(--muted);
}

.price-close strong {
  color: var(--ink);
  font-weight: 600;
}

/* About */

.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.about-figure {
  margin: 0 auto;
  width: min(100%, 22rem);
}

.about-figure figcaption {
  margin-top: 0.55rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ */

.faq {
  max-width: 42rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1rem 2.2rem 1rem 0;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
  color: var(--olive-deep);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.1rem;
  top: 0.85rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--terracotta);
}

.faq details[open] summary::after {
  content: "";
  width: 0.85rem;
  height: 2px;
  background: var(--terracotta);
  top: 1.45rem;
  right: 0.15rem;
}

.faq details p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1.35rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li + li {
  margin-top: 0.45rem;
}

.contact-list a {
  font-weight: 600;
}

form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.fields {
  display: grid;
  gap: 0.85rem;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--olive-deep);
}

.req {
  color: var(--terracotta);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: #fffdfb;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: var(--terracotta);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  font-weight: 600;
}

.form-status.is-error {
  color: var(--terracotta-dark);
}

.form-status.is-ok {
  color: var(--emerald-deep);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2rem;
  color: var(--ink);
}

.footer-logo {
  width: min(100%, 28rem);
  margin-bottom: 1.15rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 0.9rem;
}

.footer-nav a {
  color: var(--olive-deep);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  color: var(--terracotta);
}

.footer-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-meta a {
  font-weight: 600;
}

/* Wider screens */

@media (min-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 3rem));
  }

  .section {
    padding: 4.25rem 0;
  }

  .points {
    grid-template-columns: 1fr 1fr;
  }

  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }
}

@media (min-width: 900px) {
  .brand img {
    width: 3rem;
    height: 3rem;
  }

  .brand-name {
    max-width: none;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
  }

  .brand-tag {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding-bottom: 0;
  }

  .site-nav a:not(.nav-cta) {
    border-bottom: 0;
    padding: 0.4rem 0.55rem;
  }

  .nav-cta {
    display: inline-flex;
    align-self: center;
    margin-top: 0;
    margin-left: 0.35rem;
    border-bottom: 0;
    padding: 0.55rem 0.95rem;
  }

  .nav-cta:hover {
    color: var(--cream);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    gap: 2.5rem;
  }

  .hero-figure {
    width: min(100%, 26rem);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: start;
  }

  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .about-grid {
    grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.25rem;
    align-items: start;
  }

}

@media (min-width: 1100px) {
  .points {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #2c321f;
    --line: #8a8172;
    --line-strong: #5c5648;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .actions,
  form,
  .tabs {
    display: none !important;
  }

  .price-panel,
  .js .price-panel {
    display: block !important;
  }

  body {
    background: white;
  }

  a {
    text-decoration: none;
  }
}
