/* SaskSite — Pro websites, small-town prices
   Prairie palette: deep navy + wheat gold on warm cream. */

:root {
  --navy: #0e2a43;
  --navy-deep: #0a1f33;
  --navy-mid: #1a4060;
  --navy-soft: #2a5575;
  --gold: #d4a017;
  --gold-bright: #e8b84a;
  --gold-deep: #b8870e;
  --gold-soft: #f0d48a;
  --wheat: #f4e6c3;
  --cream: #f8f3e9;
  --cream-dark: #ebe2d0;
  --ink: #1a2430;
  --muted: #5a6a78;
  --white: #fffdf8;
  --line: #e4d8c0;
  --danger: #8b2e1f;
  --shadow: 0 10px 30px rgba(14, 42, 67, 0.08);
  --shadow-lg: 0 22px 50px rgba(14, 42, 67, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--gold-deep); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 42, 67, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 184, 74, 0.18);
  height: var(--header-h);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.logo:hover { color: var(--white); }
.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.logo-word {
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-word span { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 230, 195, 0.25);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  color: var(--cream);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  border-radius: 1px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.site-nav a:not(.btn) {
  color: var(--wheat);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 550;
}
.site-nav a:not(.btn):hover { color: var(--gold-bright); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { color: inherit; }
.btn-gold {
  background: var(--gold-bright);
  color: var(--navy);
  border-color: var(--gold-bright);
}
.btn-gold:hover { background: #f3c96a; color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(244, 230, 195, 0.45);
}
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); background: transparent; }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.08rem; }
.btn-short { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 52%, #16344f 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 3.5rem 0 0;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding-bottom: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-bright);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 1.1rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 650;
  font-optical-sizing: auto;
  font-size: clamp(2.3rem, 6.2vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
  color: var(--white);
}

.hero-lead {
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--wheat);
  margin: 0 0 1.85rem;
  max-width: 38rem;
}

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

.hero-note {
  color: rgba(244, 230, 195, 0.75);
  font-size: 0.98rem;
  margin: 0;
}

.hero-art {
  position: relative;
  z-index: 1;
  line-height: 0;
  margin-top: auto;
}
.hero-art svg {
  width: 100%;
  height: auto;
}

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.55rem;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.8rem;
}

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

/* Problem */
.problem {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.problem-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .problem .section-head { margin-bottom: 0; }
}
.problem p { margin: 0 0 1rem; color: var(--ink); }
.problem p:last-child { margin-bottom: 0; }

/* Included */
.included { background: var(--cream); }
.feature-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--wheat);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--navy);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.feature p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* How it works */
.how {
  background: var(--navy);
  color: var(--cream);
}
.how h2, .how .eyebrow { color: var(--gold-bright); }
.how .eyebrow { color: var(--gold-bright); }
.how h2 { color: var(--white); }
.how .lede { color: var(--wheat); }

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}
.step {
  position: relative;
  background: rgba(255, 253, 248, 0.05);
  border: 1px solid rgba(232, 184, 74, 0.22);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
}
.step-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold-bright);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.85rem;
}
.step h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.step p { margin: 0; color: var(--wheat); }

/* Work */
.work { background: var(--cream); }
.work-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 880px) {
  .work-card {
    grid-template-columns: 1.35fr 0.9fr;
    padding: 1.15rem 1.5rem 1.15rem 1.15rem;
    gap: 2rem;
  }
}

.browser {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-dark);
  box-shadow: 0 8px 24px rgba(14, 42, 67, 0.1);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: #efe6d4;
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 5px; flex: none; }
.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0c3a8;
  display: block;
}
.browser-url {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  color: var(--navy-mid);
  background: var(--white);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.browser-url:hover { color: var(--gold-deep); }
.browser img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 771;
  object-fit: cover;
  object-position: top center;
}

.work-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.work-town {
  color: var(--gold-deep);
  font-weight: 650;
  margin: 0 0 0.85rem;
  font-size: 1rem;
}
.work-copy p { margin: 0 0 1.15rem; color: var(--muted); }
.work-copy .btn { margin-right: 0.5rem; margin-bottom: 0.4rem; }
@media (max-width: 879px) {
  .work-copy { padding: 0 0.5rem 0.6rem; }
}

/* Pricing */
.pricing { background: var(--white); border-block: 1px solid var(--line); }
.plan-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  max-width: 860px;
  margin-inline: auto;
}
@media (min-width: 760px) {
  .plan-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch; }
}
.plan {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.plan-pro {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.plan-name {
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-deep);
}
.plan-pro .plan-name { color: var(--gold-bright); }
.plan h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.85rem;
}
.plan-pro h3 { color: var(--white); }
.plan-extra {
  margin: -0.45rem 0 0.95rem;
  color: var(--wheat);
  font-size: 1.02rem;
}
.plan-price {
  margin: 0;
  font-size: 1.12rem;
  color: var(--ink);
}
.plan-pro .plan-price { color: var(--wheat); }
.plan-amount {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.15rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
  margin-right: 0.15rem;
}
.plan-pro .plan-amount { color: var(--gold-bright); }
.plan-or {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-pro .plan-or { color: var(--gold-soft); }
.plan-term {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
  color: var(--wheat);
}
.plan-term-light {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}
.plan .btn { margin-top: 1.25rem; width: 100%; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.plan-cad {
  text-align: center;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* FAQ */
.faq { background: var(--cream); }
.faq-list {
  max-width: 760px;
  display: grid;
  gap: 0.7rem;
}
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: var(--navy);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gold-deep);
  flex: none;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  max-width: 62ch;
}

/* Contact */
.contact {
  background: var(--navy-deep);
  color: var(--cream);
  padding-bottom: 5rem;
}
.contact h2 { color: var(--white); }
.contact .eyebrow { color: var(--gold-bright); }
.contact .lede { color: var(--wheat); }
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}
.contact-info p { color: var(--wheat); }
.phone-block {
  margin: 1.4rem 0;
}
.phone-block a {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.phone-block a:hover { color: var(--gold-soft); }
.phone-block span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--wheat);
  margin-bottom: 0.2rem;
}
.contact-aside {
  color: rgba(244, 230, 195, 0.8);
  font-size: 1rem;
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 1.1rem;
  font-size: 1.45rem;
}
form { display: grid; gap: 0.85rem; }
.field-row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
input, textarea, select {
  width: 100%;
  font: inherit;
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}
input:hover, textarea:hover { border-color: #d0c3a4; }
input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
  background: var(--white);
}
textarea { min-height: 7.5rem; resize: vertical; }
.req { color: var(--gold-deep); }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-card .btn { width: 100%; margin-top: 0.3rem; }
.form-fine {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  background: #071522;
  color: rgba(244, 230, 195, 0.75);
  padding: 2rem 0 2.2rem;
  font-size: 0.98rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: 1.15rem;
  margin: 0 0 0.2rem;
}
.footer-brand span { color: var(--gold-bright); }
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }

/* Thanks / 404 */
.simple-page {
  min-height: calc(100vh - var(--header-h) - 140px);
  display: grid;
  place-items: center;
  padding: 4rem 0;
  background: var(--cream);
}
.simple-card {
  width: min(100%, 36rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.simple-card h1 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0.3rem 0 0.8rem;
}
.simple-card p { color: var(--muted); margin: 0 0 1.4rem; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(232, 184, 74, 0.22);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1.1rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) {
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid rgba(244, 230, 195, 0.1);
  }
  .site-nav .btn { display: none; } /* header already has Free demo */
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-gold {
    white-space: nowrap;
    padding: 0.62rem 0.95rem;
    font-size: 0.95rem;
  }
  .header-actions .btn-full { display: none; }
  .header-actions .btn-short { display: inline; }
}

@media (min-width: 861px) {
  .header-actions .btn-gold { display: none; } /* CTA lives in the nav on desktop */
  .btn-short { display: none; }
}

body.nav-open { overflow: hidden; }
