:root {
  --bg: #FCFBF9;
  --bg-warm: #FFF7F1;
  --bg-cool: #F4F8FB;
  --surface: #FFFFFF;
  --surface-soft: #F5F1EC;
  --surface-warm: #FFF2E8;
  --surface-cool: #EAF0F5;
  --text: #2B2B2B;
  --text-strong: #1F242B;
  --muted: #6F737A;
  --line: #E8E1D8;
  --primary: #E36F2C;
  --primary-dark: #B9531D;
  --secondary: #4F6F8F;
  --blue: #005AB5;
  --teal: #00A1C2;
  --pink: #D33682;
  --indigo: #332288;
  --yellow: #FFC20A;
  --line-green: #06C755;
  --radius-card: 14px;
  --radius-small: 10px;
  --shadow: 0 18px 44px rgba(42, 36, 31, 0.10);
  --shadow-soft: 0 10px 26px rgba(42, 36, 31, 0.07);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  line-break: strict;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
li,
summary,
td,
th,
a,
span,
strong {
  overflow-wrap: break-word;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 251, 249, 0.92);
  border-bottom: 1px solid rgba(232, 225, 216, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-header .brand {
  grid-column: 1;
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-small);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
  background: var(--surface-warm);
}

.mobile-menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-button {
  flex: 0 0 auto;
  width: auto;
  height: 44px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(227, 111, 44, 0.22);
  border-radius: 12px;
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(227, 111, 44, 0.18);
  cursor: pointer;
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 120;
}

.mobile-menu-bars {
  display: grid;
  gap: 4px;
}

.mobile-menu-bars span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: #FFFFFF;
}

.mobile-menu-label {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.mobile-menu-panel {
  position: fixed;
  top: 64px;
  right: 16px;
  width: 190px;
  display: none;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  z-index: 110;
}

.mobile-menu-toggle:checked ~ .mobile-menu-panel {
  display: grid;
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  cursor: default;
}

.mobile-menu-toggle:checked ~ .mobile-menu-backdrop {
  display: block;
}

.mobile-menu-panel a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.mobile-menu-panel a:hover {
  color: var(--primary);
  background: var(--surface-warm);
}

.header-cta {
  min-height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  color: #FFFFFF;
  background: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(227, 111, 44, 0.20);
  white-space: nowrap;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #FFFFFF;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(227, 111, 44, 0.22);
}

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

.button-secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(227, 111, 44, 0.34);
}

.hero {
  position: relative;
  min-height: auto;
  display: block;
  padding: 48px 0 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(252, 251, 249, 0), var(--bg));
  pointer-events: none;
}

.hero-media {
  position: relative;
  z-index: 2;
  width: min(100% - 72px, 236px);
  height: clamp(280px, 42svh, 330px);
  margin: 24px auto 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto -6px 0;
  z-index: 3;
  height: 84px;
  background: linear-gradient(180deg, rgba(252, 251, 249, 0), var(--bg) 82%);
  pointer-events: none;
}

.hero-screen {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 8px solid #111111;
  border-radius: 34px;
  background: #111111;
  box-shadow: var(--shadow);
  aspect-ratio: 1206 / 2622;
}

.hero-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.hero-screen-main {
  width: 100%;
  opacity: 1;
  transform: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  text-align: left;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: 3.35rem;
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 330px;
  margin: 22px 0 0;
  color: #3F454D;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.85;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  max-width: 360px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 360px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.80);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 759px) {
  .hero-lead,
  .hero-actions,
  .hero-points,
  .section-heading {
    width: 100%;
    max-width: none;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }
}

.summary-band {
  position: relative;
  z-index: 3;
  padding: 18px 0 32px;
  background: var(--bg);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.summary-item,
.pain-card,
.feature-card,
.routine-card,
.plan-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.summary-item {
  padding: 16px;
}

.summary-label {
  display: block;
  margin-bottom: 2px;
  color: var(--secondary);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.summary-item strong {
  display: block;
  color: var(--text-strong);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.summary-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
}

.section {
  padding: 64px 0;
}

.section-warm {
  background: var(--bg-warm);
}

.section-cool {
  background: var(--bg-cool);
}

.section-compare {
  background: #FFFCF7;
}

.section-gallery {
  background: #F8FAF8;
}

.section-pricing {
  background: var(--bg-cool);
}

.section-heading {
  max-width: 720px;
  margin: 0 0 28px;
}

.section-heading h2,
.download-section h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 2rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.download-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.85;
}

.pain-grid,
.routine-grid,
.pricing-grid,
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pain-card {
  padding: 18px;
}

.pain-icon {
  width: 44px;
  height: 44px;
  display: inline-block;
  position: relative;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--surface-warm);
}

.pain-icon::before,
.pain-icon::after {
  content: "";
  position: absolute;
}

.icon-calendar::before {
  left: 10px;
  top: 12px;
  width: 24px;
  height: 21px;
  border: 3px solid var(--primary);
  border-radius: 5px;
}

.icon-calendar::after {
  left: 13px;
  top: 19px;
  width: 18px;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 7px 0 rgba(227, 111, 44, 0.36);
}

.icon-check {
  background: #F1F2F4;
}

.icon-check::before {
  left: 11px;
  top: 10px;
  width: 22px;
  height: 22px;
  border: 3px solid #7A7D84;
  border-radius: 6px;
}

.icon-check::after {
  left: 17px;
  top: 18px;
  width: 13px;
  height: 7px;
  border-left: 3px solid #7A7D84;
  border-bottom: 3px solid #7A7D84;
  transform: rotate(-45deg);
}

.icon-cart {
  background: #FFF7D6;
}

.icon-cart::before {
  left: 10px;
  top: 13px;
  width: 24px;
  height: 16px;
  border: 3px solid #9A6A00;
  border-top: 0;
  border-radius: 0 0 6px 6px;
}

.icon-cart::after {
  left: 13px;
  bottom: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9A6A00;
  box-shadow: 15px 0 0 #9A6A00;
}

.icon-box {
  background: var(--surface-cool);
}

.icon-box::before {
  left: 10px;
  top: 12px;
  width: 24px;
  height: 22px;
  border: 3px solid var(--secondary);
  border-radius: 6px;
}

.icon-box::after {
  left: 15px;
  top: 18px;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--secondary);
}

.pain-card h3,
.feature-copy h3,
.detail-row h3,
.routine-card h3,
.plan-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.18rem;
  line-height: 1.45;
  font-weight: 600;
}

.pain-card p,
.routine-card p,
.detail-row p,
.feature-copy p,
.plan-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  overflow: hidden;
}

.feature-card-home {
  border-color: rgba(227, 111, 44, 0.32);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F2 100%);
}

.feature-copy {
  min-width: 0;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--secondary);
  background: var(--surface-cool);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #424951;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 13px;
  height: 7px;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(-45deg);
}

.phone-frame,
.gallery-phone-screen {
  margin: 0;
  overflow: hidden;
  border: 8px solid #111111;
  border-radius: 34px;
  background: #111111;
  box-shadow: var(--shadow);
  aspect-ratio: 1206 / 2622;
}

.phone-frame {
  width: min(52vw, 176px);
  justify-self: center;
}

.phone-frame img,
.gallery-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  background: #FFFFFF;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(79, 111, 143, 0.18);
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-number {
  width: 42px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
}

.routine-card {
  padding: 18px;
}

.routine-time {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--primary-dark);
  background: var(--surface-warm);
  font-size: 0.84rem;
  font-weight: 600;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.75;
}

.compare-table thead th {
  color: var(--secondary);
  background: var(--surface-cool);
  font-weight: 600;
}

.compare-table tbody th {
  width: 110px;
  color: var(--text-strong);
  font-weight: 600;
}

.compare-table tbody td:nth-child(3) {
  color: #303844;
  font-weight: 500;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 759px) {
  .compare-table-wrap {
    overflow: visible;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .compare-table {
    border-collapse: separate;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody tr {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .compare-table tbody tr:last-child {
    border-bottom: 0;
  }

  .compare-table tbody th,
  .compare-table tbody td {
    padding: 0;
    border-bottom: 0;
  }

  .compare-table tbody th {
    width: 100%;
    margin-bottom: 12px;
    font-size: 1.05rem;
  }

  .compare-table tbody td + td {
    margin-top: 12px;
  }

  .compare-table tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .compare-table tbody td:nth-child(2)::before {
    content: "よくある管理";
  }

  .compare-table tbody td:nth-child(3)::before {
    content: "FaMemo";
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.gallery-phone {
  margin: 0;
  width: 100%;
  max-width: 210px;
  justify-self: center;
}

.gallery-phone-screen {
  width: 100%;
}

.gallery-phone figcaption {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 0;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.pricing-grid {
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 22px 18px;
}

.plan-card-featured {
  border-color: rgba(227, 111, 44, 0.42);
  background: #FFF8F2;
}

.plan-label {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 10px;
  padding: 0 10px;
  border-radius: 9px;
  color: #FFFFFF;
  background: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 0;
}

.plan-price strong {
  color: var(--primary);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.plan-price span {
  color: var(--text-strong);
  font-weight: 600;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: var(--text-strong);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.faq-list summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.faq-list details p {
  margin: 0;
  padding: 0 16px 18px;
  color: var(--muted);
  font-weight: 400;
}

.download-section {
  padding: 56px 0;
  background: linear-gradient(180deg, #FFF8F2 0%, #FFF2E8 100%);
  border-top: 1px solid var(--line);
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.download-actions {
  display: grid;
  gap: 10px;
}

.download-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
}

.site-footer {
  padding: 34px 0 38px;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.footer-brand img {
  width: 128px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-links a,
.copyright {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.copyright {
  margin: 0;
}

@media (min-width: 520px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

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

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

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

@media (min-width: 760px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .nav {
    display: flex;
  }

  .mobile-menu-button,
  .mobile-menu-panel,
  .mobile-menu-backdrop {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .brand img {
    width: 166px;
  }

  .hero {
    min-height: 680px;
    display: grid;
    align-items: center;
    padding: 76px 0 56px;
    background:
      linear-gradient(90deg, #FFFFFF 0%, rgba(252, 251, 249, 0.98) 52%, var(--bg-warm) 100%),
      var(--bg);
  }

  .hero-media {
    position: absolute;
    top: 112px;
    right: max(24px, calc((100vw - var(--container)) / 2));
    width: min(32vw, 340px);
    height: auto;
    margin: 0;
    overflow: visible;
  }

  .hero-media::after {
    display: none;
  }

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

  .hero-content {
    text-align: left;
  }

  .hero-lead {
    max-width: 550px;
    margin-inline: 0;
    font-size: 1.2rem;
  }

  .hero-actions,
  .hero-points {
    margin-inline: 0;
  }

  .hero-points {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
  }

  .hero-screen-main {
    width: 100%;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .download-section h2 {
    font-size: 2.55rem;
  }

  .feature-card {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
    align-items: center;
    gap: 28px;
    padding: 26px;
  }

  .feature-card:nth-child(even) {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  }

  .feature-card:nth-child(even) .feature-copy {
    order: 2;
  }

  .feature-card:nth-child(even) .phone-frame {
    order: 1;
  }

  .phone-frame {
    width: min(100%, 238px);
  }

  .detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }

  .detail-row {
    grid-template-columns: 54px 1fr;
    padding: 22px 0;
  }

  .routine-grid,
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .download-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (min-width: 1040px) {
  .header-inner {
    min-height: 74px;
  }

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

  .hero-media {
    top: 96px;
    width: min(30vw, 370px);
  }

  .hero-screen-main {
    width: 100%;
  }

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

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

  .feature-card-home {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  }

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

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 128px;
  }

  .header-cta {
    padding: 0 10px;
    font-size: 0.8rem;
  }

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

  .button {
    padding: 0 16px;
  }

  .section-heading h2,
  .download-section h2 {
    font-size: 1.82rem;
  }

  .plan-price strong {
    font-size: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .faq-list summary::after {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
