/* The Regulars website: one stylesheet for every page. Plain CSS, no build step. */

/* Fonts, served from this site (no outside requests). */
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

/* Colours: the app's Theme. */
:root {
  --cream: #F4F3EF;
  --ink: #1C1B19;
  --pine: #2F5D50;
  --pine-dark: #234840;
  --sage-light: #E1EBDB;
  --body: #4A4843;
  --muted: #6E6B65;
  --white: #FFFFFF;
  --heading: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, -apple-system, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--pine); }
a:hover { color: var(--pine-dark); }

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

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* Header and hero band (pine) */
.band { background: var(--pine); color: var(--cream); }

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
}
.logo:hover { color: var(--cream); }
.logo span { font-family: var(--heading); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-link:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 6px; }
.nav-link[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }

.pill-button {
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.pill-button:hover { color: var(--ink); background: var(--white); }

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 80px;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-title { font-size: 72px; line-height: 74px; letter-spacing: -0.035em; }
.hero-lead { max-width: 480px; font-size: 19px; line-height: 29px; color: var(--sage-light); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 6px; }
.hero-note { font-size: 15px; color: var(--sage-light); }
.branches { width: 100%; max-width: 520px; justify-self: center; }

.store-button {
  height: 58px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.store-button:hover { color: var(--ink); background: var(--white); }
.store-button .small { font-size: 11px; line-height: 13px; letter-spacing: 0.02em; }
.store-button .big { font-family: var(--heading); font-size: 22px; line-height: 24px; font-weight: 600; }

/* Inner page hero (Privacy, Support, 404) */
.page-hero {
  padding-top: 40px;
  padding-bottom: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.page-hero-text { display: flex; flex-direction: column; gap: 12px; }
.page-title { font-size: 64px; line-height: 66px; letter-spacing: -0.035em; }
.page-lead { max-width: 520px; font-size: 18px; line-height: 27px; color: var(--sage-light); }
.page-date { font-size: 16px; color: var(--sage-light); }
.back-home { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-underline-offset: 4px; }
.back-home:hover { color: var(--white); }

/* Home sections */
.section { display: flex; flex-direction: column; }
.section-features { padding-top: 96px; padding-bottom: 88px; gap: 40px; }
.section-pricing { padding-bottom: 96px; gap: 32px; }
.section-title { font-size: 40px; line-height: 44px; letter-spacing: -0.02em; }
.section-title.narrow { max-width: 620px; }
.vine { width: 100%; height: 60px; display: block; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.feature { display: flex; flex-direction: column; gap: 12px; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.feature-icon.peach { background: #F6E3D3; }
.feature-icon.blue { background: #DDE7F3; }
.feature-icon.sage { background: var(--sage-light); }
.feature h3 { font-size: 22px; }
.text { font-size: 16px; line-height: 24px; color: var(--body); }

/* Cards */
.card { border-radius: 24px; background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card.outlined { border: 2px solid var(--pine); padding: 30px; }
.card-title { font-family: var(--heading); font-size: 22px; font-weight: 700; }
.card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price { font-family: var(--heading); font-size: 28px; font-weight: 700; color: var(--pine); }

/* Privacy */
.page-main { padding-top: 56px; padding-bottom: 96px; }
.col { max-width: 720px; display: flex; flex-direction: column; gap: 40px; }
.summary { border-radius: 24px; background: var(--sage-light); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.summary h2 { font-size: 24px; color: #36552B; }
.summary p { font-size: 18px; line-height: 28px; color: var(--ink); }
.policy { display: flex; flex-direction: column; gap: 10px; }
.policy h2 { font-size: 24px; }
.policy p { font-size: 17px; line-height: 27px; color: var(--body); }

/* Support */
.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq > h2 { margin-bottom: 8px; font-size: 28px; letter-spacing: -0.01em; }
.faq details { border-radius: 18px; background: var(--white); padding: 0 22px; }
.faq summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 8px; }
.faq .tip { flex: none; transition: transform .15s; }
.faq details[open] .tip { transform: rotate(90deg); }
.faq details p { padding: 0 0 20px 28px; font-size: 16px; line-height: 25px; color: var(--body); }

.contact { border-radius: 24px; background: var(--white); border: 2px solid var(--pine); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact h2 { font-size: 24px; }
.contact p { font-size: 16px; line-height: 25px; color: var(--body); }
.contact-button {
  height: 48px;
  border-radius: 24px;
  background: var(--pine);
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-button:hover { color: var(--white); background: var(--pine-dark); }
.contact-address { font-size: 14px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--pine); color: var(--sage-light); }
.foot {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--cream); display: inline-flex; align-items: center; min-height: 44px; }
.foot-nav a:hover { color: var(--white); }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero, .three, .two, .cols { grid-template-columns: 1fr; }
  .hero-title { font-size: 48px; line-height: 50px; }
  .page-title { font-size: 44px; line-height: 46px; }
  .section-title { font-size: 30px; line-height: 34px; }
  .hide-sm, .vine { display: none; }
  .foot { flex-direction: column; align-items: flex-start; }
}
