@import url('https://fonts.googleapis.com/css2?family=Paytone+One&display=swap');

:root {
  --ink: #0f2438;
  --ink-soft: #3d5568;
  --sea: #0d6ea8;
  --sea-dark: #094f79;
  --sea-light: #e8f4fb;
  --coral: #ff6b4a;
  --coral-dark: #e8552f;
  --teal: #004b59;
  --gold: #f2a93b;
  --gold-dark: #d9931f;
  --paper: #ffffff;
  --paper-alt: #f6faff;
  --line: #dce8f0;
  --success: #1c8a5a;
  --success-bg: #e7f7ef;
  --danger: #c73e3e;
  --danger-bg: #fdecec;
  --shadow: 0 12px 32px rgba(13, 40, 61, 0.08);
  --radius: 16px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

a:hover {
  text-decoration: underline;
}

.faq-answer a,
.legal-page main a {
  color: inherit;
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--teal);
}

.site-header .wrap {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.brand:hover {
  text-decoration: none;
}

.brand-sharky {
  height: 56px;
  width: auto;
  object-fit: contain;
  transform: translateY(5px);
}

.brand-mascot {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-pod {
  font-family: 'Paytone One', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 32.2px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a.btn-gold,
.btn-gold {
  background: linear-gradient(135deg, #eda930 0%, #d9720f 100%);
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile nav accordion toggle -- hidden entirely above the mobile breakpoint,
   where .site-nav is always shown inline instead. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #db9822 0%, #c2650c 100%);
}

/* Secondary "Log in" button for the dark header: translucent fill with a
   white outline drawn as an inset shadow (not a border), so it stays exactly
   the same size as the gold button beside it. */
.site-nav a.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.site-nav a.btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Pulls the two buttons closer together so they read as a pair. */
.site-nav a.btn-outline + a.btn-gold {
  margin-left: -8px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 74, 0.35);
}

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

.btn-small {
  padding: 9px 20px;
  font-size: 0.9rem;
}

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

.hero {
  background: var(--paper);
  padding: 72px 0 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 auto 24px;
  max-width: 820px;
  color: var(--ink);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ---------- Pricing (CTA on hero) ---------- */

.pricing-inline {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.pricing-inline .fine-print {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */

section {
  padding: 64px 0;
}

section.alt {
  background: var(--teal);
}

section.alt h2,
section.alt h3,
section.alt p,
section.alt li,
section.alt .faq-question {
  color: #fff;
}

section.alt .section-heading p {
  color: rgba(255, 255, 255, 0.85);
}

section.alt .faq-answer,
section.alt .faq-answer p {
  color: rgba(255, 255, 255, 0.85);
}

section.alt .faq-question .icon {
  color: #fff;
}

section.alt .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.section-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Element+class, matching .section-heading h2's specificity so this
   actually overrides that rule's 1.9rem instead of losing to it. */
h2.section-heading-lg {
  font-size: 2.6rem;
}

/* Problem section */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: var(--max-width);
  margin: 32px auto 0;
  text-align: left;
}

.benefit-icon {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 16px;
}

.benefit-block h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 8px;
}

.benefit-block p {
  color: var(--ink-soft);
  margin: 0;
}

/* Solution / features */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-block {
  background: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.platform-block img {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.platform-block span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink);
}

.check-list li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 700;
  background: var(--success-bg);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.email-shots {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.email-shots figure {
  margin: 0;
  text-align: center;
  max-width: 439px;
}

.email-shots img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.email-shots figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* How it works */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00323c;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-center {
  text-align: center;
  margin-top: 36px;
}

.cta-center .fine-print {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* FAQ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-question .icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--sea);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 4px 20px;
  color: var(--ink-soft);
}

/* Testimonial */

.testimonial {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
}

.testimonial p {
  font-size: 1.05rem;
  color: var(--ink);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .name {
  font-weight: 700;
}

.testimonial-author .role {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Contact CTA */

.contact-cta {
  text-align: center;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.3;
  background: var(--paper-alt);
}

.site-footer .footer-links {
  margin-bottom: 4px;
}

.site-footer .footer-links a {
  color: var(--ink-soft);
  margin: 0 10px;
}

/* ---------- Legal pages ---------- */

.legal-page main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.legal-page .updated {
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--sea-dark);
}

.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page li {
  margin-bottom: 8px;
}

/* ---------- Contact page ---------- */

.contact-page main {
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.contact-page h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-page p {
  color: var(--ink-soft);
  margin-bottom: 32px;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .hero {
    padding-top: 32px;
  }

  .fine-print-lead {
    font-weight: 700;
  }

  /* Sized against actual wrapped line counts at 375px width so each drops
     from 2 lines to 1, with a safety margin below the measured threshold
     rather than sitting right on the edge. */
  .fine-print-sub {
    font-size: 0.8rem;
  }

  .cta-fineprint-sub {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  /* Forces "an" onto its own orphan line at mobile widths, once "Never Lose
     Money on an" has already wrapped once on its own -- removed here so the
     heading wraps naturally instead. Desktop keeps the manual break as-is. */
  .hero h1 br {
    display: none;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-header .wrap {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-sharky {
    height: 44px;
    transform: translateY(4px);
  }

  .brand-mascot {
    height: 34px;
  }

  .brand-pod {
    font-size: 25px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    margin-top: 20px;
    width: 100%;
  }

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

  .site-nav a.btn-outline + a.btn-gold {
    margin-left: 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Base line-height (1.6, meant for body copy) makes any heading that wraps
     to multiple lines on a narrow screen look oddly loose -- match it to the
     hero h1's tighter leading instead. */
  .section-heading h2 {
    line-height: 1.2;
  }

  /* Brings "Take control of your Printify inventory" down to 2 lines and
     "How does it work?" down to 1, measured against actual wrapped line
     counts at 375px width rather than guessed. */
  h2.section-heading-lg {
    font-size: 2.1rem;
  }

  /* This manual break was placed for desktop's wider line, and reads like a
     stray paragraph gap once the sentence also wraps on its own at mobile
     widths -- removed here so it flows as one sentence. */
  .testimonial p br {
    display: none;
  }

  .testimonial {
    padding: 28px 22px;
  }

  section {
    padding: 48px 0;
  }
}

/* Tablet widths: the header (logo plus four nav items) needs about 800px, so
   between the phone breakpoint and ~860px it collapses to the hamburger too --
   logo on the left, menu button on the right, rather than centered. */
@media (min-width: 761px) and (max-width: 860px) {
  .site-header .wrap {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    width: 100%;
  }

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

  .site-nav a.btn-outline + a.btn-gold {
    margin-left: 0;
  }
}
