/* ============================================================
   555 Notebook — Marketing Website Styles
   Matches Flutter app design system exactly.
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --cover-brown: #5D4037;
  --paper-white: #FFFDE7;
  --amber: #D4A24E;
  --ink-black: #212121;
  --subtext: #757575;
  --ruled-line: #B0BEC5;
  --margin-red: #EF9A9A;

  /* Status */
  --success: #4CAF50;
  --error: #E53935;
  --warning: #FFA726;
  --debt-red: #D32F2F;

  /* Pastel cover colors (10% tints for section backgrounds) */
  --pastel-blue: #B3E5FC;
  --pastel-green: #C8E6C9;
  --pastel-yellow: #FFF9C4;
  --pastel-pink: #F8BBD0;
  --pastel-purple: #D1C4E9;
  --pastel-teal: #B2DFDB;
  --pastel-orange: #FFCCBC;

  /* Layout */
  --max-content: 1200px;
  --max-list: 800px;
  --max-form: 600px;
  --nav-height: 64px;

  /* Notebook dimensions */
  --line-spacing: 32px;
  --margin-left: 40px;

  /* Typography */
  --font-heading: 'Caveat', 'Georgia', serif;
  --font-body: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Source Code Pro', 'Courier New', monospace;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-black);
  background-color: var(--paper-white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

/* --- Typography (matches AppTypography) --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ink-black);
  line-height: 1.2;
}

h1 { font-size: 48px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p {
  margin-bottom: 16px;
}

/* --- Ruled Paper Background --- */
.ruled-bg {
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(176, 190, 197, 0.3) 31px,
    rgba(176, 190, 197, 0.3) 32px
  );
  background-size: 100% var(--line-spacing);
}

.ruled-bg-margin {
  background-image:
    linear-gradient(
      to right,
      transparent 39px,
      rgba(239, 154, 154, 0.4) 39px,
      rgba(239, 154, 154, 0.4) 40px,
      transparent 40px
    ),
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(176, 190, 197, 0.3) 31px,
      rgba(176, 190, 197, 0.3) 32px
    );
  background-size: 100% 100%, 100% var(--line-spacing);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-list);
}

.text-center { text-align: center; }
.text-subtext { color: var(--subtext); }

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--cover-brown);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
  color: var(--paper-white);
  text-decoration: none;
  white-space: nowrap;
}

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

.navbar__logo-555 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--paper-white);
  line-height: 1;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--paper-white);
  opacity: 0.85;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar__links a {
  color: var(--paper-white);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.navbar__links a:hover {
  opacity: 1;
  text-decoration: none;
}

.navbar__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--paper-white);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger active state */
.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Stamp Badge (matches StampBadge widget exactly) --- */
.stamp {
  display: inline-block;
  padding: 4px 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transform: rotate(-0.05rad);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.stamp--free { color: var(--success); }
.stamp--new { color: var(--amber); }
.stamp--version { color: var(--cover-brown); }

/* --- Buttons (matches app ElevatedButton / OutlinedButton) --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s, transform 0.1s;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--cover-brown);
  color: var(--paper-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--cover-brown);
  border: 2px solid var(--cover-brown);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
}

.btn--outline-white {
  background-color: transparent;
  color: var(--paper-white);
  border: 2px solid var(--paper-white);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
}

.btn--outline-white:hover {
  background-color: var(--paper-white);
  color: var(--cover-brown);
}

/* --- Cards (matches app Card theme: 12px radius, subtle border) --- */
.card {
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(176, 190, 197, 0.2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card--notebook {
  background-color: var(--paper-white);
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(176, 190, 197, 0.2) 31px,
    rgba(176, 190, 197, 0.2) 32px
  );
  background-size: 100% var(--line-spacing);
}

.card--rotated-1 { transform: rotate(-1deg); }
.card--rotated-2 { transform: rotate(0.8deg); }
.card--rotated-3 { transform: rotate(-0.5deg); }
.card--rotated-1:hover { transform: rotate(-1deg) translateY(-2px); }
.card--rotated-2:hover { transform: rotate(0.8deg) translateY(-2px); }
.card--rotated-3:hover { transform: rotate(-0.5deg) translateY(-2px); }

/* --- Spiral Binding Decoration --- */
.spiral {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 20px;
}

.spiral__hole {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(93, 64, 55, 0.6);
  background-color: var(--paper-white);
}

.spiral--horizontal {
  flex-direction: row;
  width: auto;
  height: 20px;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section--tint-blue { background-color: rgba(179, 229, 252, 0.1); }
.section--tint-green { background-color: rgba(200, 230, 201, 0.1); }
.section--tint-yellow { background-color: rgba(255, 249, 196, 0.15); }
.section--tint-pink { background-color: rgba(248, 187, 208, 0.1); }
.section--tint-purple { background-color: rgba(209, 196, 233, 0.1); }
.section--brown {
  background-color: var(--cover-brown);
  color: var(--paper-white);
}

.section__title {
  margin-bottom: 48px;
}

.section__subtitle {
  font-size: 18px;
  color: var(--subtext);
  max-width: 600px;
  margin: 12px auto 0;
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero__text {
  flex: 1;
}

.hero__title {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--ink-black);
}

.hero__tagline {
  font-size: 18px;
  line-height: var(--line-spacing);
  color: var(--subtext);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__mockup {
  flex: 0 0 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__devices {
  display: flex;
  align-items: flex-end;
  gap: 28px;
}

.hero__tablet {
  position: relative;
  width: 340px;
  height: 248px;
  background: #e8e4df;
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 0 0 1px #cec9c3,
    0 12px 40px rgba(93,64,55,0.15),
    0 4px 16px rgba(93,64,55,0.08);
}

.hero__tablet-camera {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #d5d0ca;
  border-radius: 50%;
  border: 1px solid #cec9c3;
}

.hero__tablet-screen {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-white);
}

.hero__tablet-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.hero__phone {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 312px;
  flex-shrink: 0;
  background: #e8e4df;
  border-radius: 20px;
  padding: 8px;
  box-shadow:
    0 0 0 1px #cec9c3,
    0 16px 48px rgba(93,64,55,0.18),
    0 6px 20px rgba(93,64,55,0.1);
}

.hero__phone-notch {
  display: none;
}

.hero__phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-white);
}

.hero__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Spiral binding decoration on hero left edge */
.hero__spiral {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background-color: rgba(93, 64, 55, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--subtext);
  line-height: 1.5;
}

/* --- How It Works (Steps) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting dashed line */
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    var(--ruled-line),
    var(--ruled-line) 8px,
    transparent 8px,
    transparent 16px
  );
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--cover-brown);
  color: var(--paper-white);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 14px;
  color: var(--subtext);
  line-height: 1.5;
}

/* --- Margin Number (red margin annotation) --- */
.margin-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--margin-red);
  opacity: 0.7;
  width: 28px;
  text-align: right;
  margin-right: 12px;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  padding: 32px;
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-card__list {
  list-style: none;
}

.pricing-card__list li {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card__list li::before {
  content: attr(data-icon);
  flex-shrink: 0;
  font-size: 16px;
}

.pricing-tier-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.pricing-tier-table th {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(176, 190, 197, 0.3);
  color: var(--cover-brown);
}

.pricing-tier-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(176, 190, 197, 0.15);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(176, 190, 197, 0.3);
}

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

.faq-item__question:hover {
  color: var(--cover-brown);
}

.faq-item__arrow {
  font-size: 18px;
  color: var(--subtext);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-item__arrow {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-item__answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--subtext);
}

/* --- Changelog (32px ruled-line grid) --- */
.section.ruled-bg {
  padding: 64px 0 96px;
}

.section.ruled-bg .section__title {
  margin-bottom: 32px;
}

.section.ruled-bg .section__title h2 {
  line-height: 64px;
}
.changelog-entry {
  padding: 32px 0 0;
  border-bottom: 1px solid rgba(176, 190, 197, 0.3);
}

.changelog-entry:last-child,
.changelog-entry:last-of-type {
  border-bottom: none;
}

.changelog-entry__header {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 32px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.changelog-entry__date {
  font-size: 14px;
  line-height: 32px;
  color: var(--subtext);
}

.changelog-entry__subtitle {
  font-size: 15px;
  line-height: 32px;
  color: var(--subtext);
  margin-bottom: 0;
}

.changelog-entry__list {
  padding-left: 20px;
  margin-bottom: 0;
}

.changelog-entry__list li {
  font-size: 15px;
  line-height: 32px;
  color: var(--ink-black);
  margin-bottom: 0;
}

.changelog-footer {
  text-align: center;
  font-size: 15px;
  line-height: 32px;
  color: var(--subtext);
  margin-top: 32px;
}

/* --- Footer --- */
.footer {
  background-color: var(--cover-brown);
  color: var(--paper-white);
  padding: 40px 0;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--paper-white);
  opacity: 0.8;
  font-size: 14px;
}

.footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__copy {
  font-size: 12px;
  opacity: 0.6;
}

.footer__tagline {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
}

/* --- Legal / Prose Pages --- */
/* All vertical rhythm locked to 32px ruled-line grid */
.prose {
  max-width: var(--max-list);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.prose h1 {
  line-height: 64px;
  margin-bottom: 0;
}

.prose .last-updated {
  font-size: 14px;
  line-height: 32px;
  color: var(--subtext);
  font-style: italic;
  margin-bottom: 32px;
}

.prose h2 {
  font-size: 26px;
  line-height: 32px;
  margin-top: 64px;
  margin-bottom: 0;
}

.prose h3 {
  font-size: 20px;
  line-height: 32px;
  margin-top: 32px;
  margin-bottom: 0;
}

.prose p,
.prose li {
  font-size: 15px;
  line-height: 32px;
  color: var(--ink-black);
}

.prose p {
  margin-bottom: 0;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 0;
}

.prose li {
  margin-bottom: 0;
}

.prose a {
  color: var(--cover-brown);
  font-weight: 600;
  text-decoration: underline;
}

/* --- CTA Section --- */
.cta-section {
  padding: 64px 0;
  background-color: var(--paper-white);
}

.cta-section h2 {
  font-size: 40px;
  color: var(--ink-black);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--subtext);
  margin-bottom: 32px;
  font-size: 18px;
}

.cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-badge {
  display: inline-block;
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
}

.cta-badge:hover {
  transform: scale(1.03);
  text-decoration: none;
}

.cta-badge img {
  display: block;
  width: auto;
}

/* Google Play PNG has ~18% built-in padding; scale up to match App Store visually */
.cta-badge img[alt*="Google Play"] {
  height: 66px;
}

.cta-badge img[alt*="App Store"] {
  height: 48px;
  border-radius: 8px;
}

.cta-badge--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
  filter: grayscale(0.5);
}

/* --- Red Margin Divider (horizontal rule) --- */
.margin-divider {
  height: 3px;
  background-color: var(--margin-red);
  border: none;
  margin: 0;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--paper-white);
  color: var(--cover-brown);
  border: 2px solid var(--cover-brown);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  opacity: 0.9;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.back-to-top:active {
  transform: scale(0.95);
}

/* ============================================================
   RESPONSIVE
   Breakpoints match Flutter app: 600px, 900px
   ============================================================ */

@media (max-width: 899px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--cover-brown);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .navbar__links.active {
    display: flex;
  }

  .navbar__hamburger {
    display: block;
  }

  .ruled-bg-margin {
    background-image: repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(176, 190, 197, 0.3) 31px,
      rgba(176, 190, 197, 0.3) 32px
    );
    background-size: 100% var(--line-spacing);
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__mockup {
    flex: 0 0 380px;
  }

  .hero__devices {
    gap: 20px;
  }

  .hero__tablet {
    width: 260px;
    height: 190px;
    padding: 8px;
    border-radius: 12px;
  }

  .hero__tablet-camera {
    width: 4px;
    height: 4px;
    left: 4px;
  }

  .hero__tablet-screen {
    border-radius: 5px;
  }

  .hero__phone {
    width: 120px;
    height: 250px;
    padding: 6px;
    border-radius: 16px;
  }

  .hero__phone-screen {
    border-radius: 10px;
  }

  h1 { font-size: 40px; }
}

@media (max-width: 599px) {
  :root {
    --nav-height: 56px;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .hero__content {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__mockup {
    flex: none;
    order: -1;
  }

  .hero__devices {
    gap: 16px;
  }

  .hero__tablet {
    display: none;
  }

  .hero__phone {
    width: 160px;
    height: 333px;
    padding: 7px;
    border-radius: 18px;
  }

  .hero__phone-screen {
    border-radius: 11px;
  }

  .hero__spiral {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card--rotated-1,
  .card--rotated-2,
  .card--rotated-3 {
    transform: none;
  }
  .card--rotated-1:hover,
  .card--rotated-2:hover,
  .card--rotated-3:hover {
    transform: translateY(-2px);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .section {
    padding: 48px 0;
  }

  .section__title h2 {
    font-size: 28px;
  }

  .footer__content {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }

  .cta-section h2 {
    font-size: 32px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
  }

  .btn--outline {
    width: 100%;
  }
}
