/* Form & Frame Design — light studio · Daylight vibe · Humble layout · Content Arch argue */

:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --line: rgba(28, 25, 23, 0.1);
  /* Sampled from FFD monogram teal (~#1b7867); hover one step lighter */
  --accent: #1b7867;
  --accent-hover: #23967f;
  --accent-soft: rgba(27, 120, 103, 0.12);
  --card: #ffffff;
  --warn: #9a3412;
  --max: 72rem;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

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

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 0.2rem;
}

.nav-brand:hover {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 520px) {
  .nav-brand span {
    display: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
}

.nav-cta:hover {
  background: var(--accent) !important;
  text-decoration: none !important;
}

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* Hero */

.hero {
  padding: 3.75rem 0 4rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(15, 118, 110, 0.09), transparent 55%),
    var(--paper);
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1.15rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.price-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.pill strong {
  color: var(--ink);
  font-weight: 700;
}

.pill span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink);
  text-decoration: none;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
}

.hero-visual {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.25rem;
  box-shadow: 0 20px 50px rgba(28, 25, 23, 0.06);
}

.hero-visual-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero-brand-panel {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f3eee6;
  border: 1px solid var(--line);
}

.hero-brand-panel img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-tagline {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}

/* Sections */

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

.section--tint {
  background: var(--paper-2);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.35rem 1.25rem;
}

.card .step {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Compare + tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 36rem;
}

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

th {
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.82rem;
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: none;
}

td.highlight,
th.highlight {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}

/* Packages */

.pkg-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

@media (min-width: 800px) {
  .pkg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pkg {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pkg:hover {
  border-color: rgba(27, 120, 103, 0.45);
}

.pkg:focus {
  outline: none;
}

.pkg:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.pkg.is-selected,
.pkg.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: #fff;
}

.pkg .tier {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.pkg h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
  color: var(--ink);
}

.pkg .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.pkg .amount small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.pkg ul {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  flex: 1 1 auto;
}

.pkg li {
  margin: 0.35rem 0;
}

/* Pin CTAs to the same baseline across unequal list lengths */
.pkg .pkg-cta {
  margin-top: auto;
  width: 100%;
  min-height: 2.85rem;
}

.pkg.is-selected .pkg-cta {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}

.pkg:not(.is-selected) .pkg-cta {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.pkg:not(.is-selected) .pkg-cta:hover {
  border-color: var(--ink);
  text-decoration: none;
}

/* Fit */

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

.fit-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.9rem 1.1rem;
  color: var(--ink-soft);
}

.fit-list strong {
  color: var(--ink);
}

/* FAQ */

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

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

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  max-width: 42rem;
}

/* Contact */

.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  max-width: 36rem;
}

.contact-box p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-box .mail {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

/* Footer */

.footer {
  padding: 2rem 0 2.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--accent);
}
