@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --cream: #fff7ec;
  --cream-deep: #fcead7;
  --orange: #f27c26;
  --orange-dark: #d95d0c;
  --navy: #242c43;
  --ink: #343b4b;
  --muted: #687080;
  --line: #eadfce;
  --white: #fff;
  --blue: #3266d8;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(67, 49, 27, 0.08);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
::selection {
  background: #ffd4ad;
  color: var(--navy);
}
.container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}
.narrow {
  max-width: 830px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  background: var(--orange);
  color: white;
  position: relative;
  z-index: 20;
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.brand strong {
  font-weight: 800;
}
.brand img {
  object-fit: contain;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}
.primary-nav a {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.primary-nav a:hover {
  opacity: 0.73;
}
.primary-nav .nav-search {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}
.nav-search-label {
  display: none;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle-lines::before {
  top: -7px;
}
.menu-toggle-lines::after {
  top: 7px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--navy);
  letter-spacing: -0.055em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 800;
}
h2 {
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 800;
}
h3 {
  font-size: 21px;
  font-weight: 800;
}
.accent-dot {
  color: var(--orange);
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 800;
  color: var(--orange-dark);
}
.section-space {
  padding-block: clamp(70px, 8vw, 120px);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 0;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  white-space: normal;
  text-align: center;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 9px 20px rgba(36, 44, 67, 0.15);
}
.button-dark:hover {
  background: #11192d;
}
.button-light {
  background: #fff4e9;
  color: var(--orange-dark);
}
.button-blue {
  background: var(--blue);
  color: #fff;
}
.button-blue:hover {
  background: #2156c6;
}
.text-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  display: inline-flex;
  gap: 9px;
  align-items: center;
}
.text-link:hover {
  color: var(--orange-dark);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(67, 49, 27, 0.06);
  max-width: 600px;
}
.search-form svg {
  flex: none;
  color: #8a8c91;
}
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--navy);
  font-size: 14px;
}
.search-form input::placeholder {
  color: #9499a0;
}
.search-form button {
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.search-form button:hover {
  background: var(--orange-dark);
}
.hero {
  padding-block: clamp(60px, 7vw, 105px) clamp(70px, 8vw, 115px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
}
.hero-copy {
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.sparkle {
  font-size: 19px;
}
.hero h1 {
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: #5d6472;
  max-width: 570px;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #697080;
  font-size: 12px;
  font-weight: 700;
  margin-top: 22px;
}
.hero-meta span span {
  color: var(--orange);
  font-weight: 900;
  margin-right: 4px;
}
.hero-visual {
  height: 545px;
  position: relative;
}
.hero-image {
  position: absolute;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(38, 32, 26, 0.19);
  background: var(--cream-deep);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-main {
  width: 62%;
  height: 92%;
  left: 5%;
  top: 3%;
  transform: rotate(-5deg);
}
.hero-image-small {
  width: 47%;
  height: 62%;
  right: 2%;
  bottom: 0;
  transform: rotate(7deg);
}
.hero-image-label {
  position: absolute;
  bottom: 13px;
  left: 13px;
  right: 13px;
  display: flex;
  justify-content: space-between;
  background: white;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
}
.hero-sticker {
  position: absolute;
  top: 0;
  right: 3%;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.12;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 800;
  background: var(--navy);
  color: #fff;
  transform: rotate(11deg);
  box-shadow: 0 10px 30px rgba(36, 44, 67, 0.2);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 36px;
}
.section-heading h2 {
  margin: 8px 0 0;
}
.section-heading p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.topics {
  background: #fff;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.topic-card {
  min-height: 235px;
  border-radius: var(--radius);
  padding: 27px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.topic-photo {
  background: #fce9d5;
}
.topic-couple {
  background: #eadff7;
}
.topic-template {
  background: #e3eceb;
}
.topic-index {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #6c6d74;
}
.topic-name {
  font-family: Manrope, sans-serif;
  font-size: clamp(24px, 2.4vw, 35px);
  line-height: 1.1;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--navy);
  margin-top: auto;
  margin-bottom: 10px;
  max-width: 230px;
}
.topic-description {
  max-width: 220px;
  font-size: 13px;
  color: #5d6271;
  line-height: 1.5;
}
.topic-arrow {
  position: absolute;
  right: 23px;
  top: 23px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.featured {
  background: var(--cream);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.article-card {
  background: #fff;
  border: 1px solid #f2e8db;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(49, 39, 29, 0.04);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-image {
  height: 240px;
  display: block;
  position: relative;
  overflow: hidden;
  background: #f3e2cf;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.article-card:hover .card-image img {
  transform: scale(1.045);
}
.image-arrow {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--navy);
  font-size: 20px;
}
.card-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card-body h3 {
  font-size: 21px;
  line-height: 1.28;
  margin: 12px 0 10px;
}
.card-body h3 a:hover {
  color: var(--orange-dark);
}
.card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 23px;
}
.card-body .text-link {
  margin-top: auto;
}
.section-action {
  text-align: center;
  margin-top: 38px;
}
.how-section {
  background: var(--navy);
  color: #e4e6ed;
}
.how-section h2 {
  color: #fff;
  max-width: 520px;
  margin: 12px 0 22px;
}
.how-section p {
  color: #b4bac8;
  max-width: 480px;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}
.step-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.step-list li > span {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  color: #ffad70;
  font-weight: 800;
}
.step-list h3 {
  color: #fff;
  margin: 0 0 4px;
  font-size: 19px;
}
.step-list p {
  margin: 0;
  font-size: 14px;
}
.template-section {
  background: #fff;
}
.template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}
.template-art {
  height: 520px;
  max-width: 520px;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: #edd0b5;
}
.template-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.template-art-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  background: white;
  color: var(--navy);
  font-weight: 800;
  padding: 15px 18px;
  border-radius: 12px;
}
.template-copy h2 {
  margin: 12px 0 20px;
  max-width: 540px;
}
.template-copy p {
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 27px;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
}
.faq-grid h2 {
  margin: 10px 0 20px;
}
.faq-grid > div > p {
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--navy);
  font-weight: 800;
  padding: 19px 0;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary span {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff0e4;
  position: relative;
}
.faq-item summary span::before,
.faq-item summary span::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 7px;
  width: 10px;
  height: 2px;
  background: var(--orange-dark);
}
.faq-item summary span::after {
  transform: rotate(90deg);
}
.faq-item[open] summary span::after {
  display: none;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  padding: 0 0 20px;
}
.home-faq {
  background: var(--cream);
}
.page-intro {
  padding: 70px 0 56px;
  background: #fff0df;
}
.page-intro h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  margin: 10px 0 16px;
}
.page-intro p {
  max-width: 650px;
  color: #626a78;
  font-size: 18px;
  margin-bottom: 20px;
}
.page-intro .search-form {
  margin-top: 30px;
}
.result-count {
  display: inline-block;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  font-size: 12px;
  color: #818593;
  margin-bottom: 33px;
}
.breadcrumbs a:hover {
  color: var(--orange-dark);
}
.breadcrumbs span:last-child {
  color: var(--navy);
}
.article-shell {
  padding-top: 42px;
}
.article-header {
  max-width: 760px;
  margin: 0 0 50px;
}
.article-header h1 {
  font-size: clamp(40px, 4.5vw, 64px);
  margin: 12px 0 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #737b88;
  font-size: 13px;
}
.jump-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  padding: 9px 16px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  margin-top: 24px;
  box-shadow: 0 7px 20px rgba(54, 37, 18, 0.06);
}
.jump-link:hover {
  border-color: var(--orange);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 55px;
  align-items: start;
}
.article-main {
  min-width: 0;
}
.quick-answer {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  padding: 25px 29px;
  box-shadow: 0 12px 30px rgba(49, 39, 29, 0.04);
  margin-bottom: 55px;
}
.quick-answer p {
  margin: 9px 0 0;
  font-size: 16px;
  line-height: 1.78;
}
.article-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 24px;
}
.sidebar-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.sidebar-box .search-form {
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: none;
  margin-top: 14px;
}
.sidebar-box .search-form svg {
  display: none;
}
.sidebar-box .search-form input {
  width: 100%;
  padding: 8px;
}
.sidebar-box .search-form button {
  width: 100%;
}
.sidebar-box p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0;
}
.prompt-section {
  scroll-margin-top: 35px;
  margin-bottom: 64px;
}
.prompt-heading-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.prompt-number {
  font-family: Manrope, sans-serif;
  color: var(--orange);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
}
.prompt-heading-row h2 {
  font-size: clamp(26px, 2.7vw, 36px);
  margin: 5px 0 0;
}
.prompt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.prompt-image {
  margin: 0;
  height: 465px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  background: #ebd4bf;
}
.prompt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prompt-image figcaption,
.template-feature figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 35px 19px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.prompt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(49, 39, 29, 0.05);
}
.prompt-card-label {
  display: inline-block;
  border-radius: 100px;
  background: #fff0e4;
  padding: 5px 11px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.prompt-summary {
  font-size: 14px;
  color: #656d7b;
  margin: 17px 0;
}
.prompt-actions {
  display: flex;
  gap: 8px;
}
.prompt-actions .button {
  flex: 1;
  padding: 12px 10px;
  font-size: 12px;
}
.js-only {
  display: none;
}
html.js .js-only {
  display: inline-flex;
}
.prompt-text {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  background: #fff0dc;
  border-radius: 11px;
  padding: 16px;
  color: #5a4c42;
  margin: 15px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prompt-text.is-collapsed {
  max-height: 130px;
  overflow: hidden;
  mask-image: linear-gradient(#000 65%, transparent);
}
.article-advice,
.article-faq {
  margin: 65px 0;
}
.article-advice h2,
.article-faq h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 10px 0 22px;
}
.article-advice h3 {
  font-size: 19px;
  margin: 30px 0 10px;
}
.article-advice ul,
.article-advice ol {
  padding-left: 24px;
  color: #5f6877;
}
.article-advice li {
  padding-left: 5px;
  margin-bottom: 12px;
}
.article-faq .faq-item {
  box-shadow: none;
}
.related-section {
  background: #fff0df;
  margin-top: 60px;
}
.template-feature {
  margin: 0 0 32px;
  height: 540px;
  max-width: 580px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f5d8b9;
}
.template-feature img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.template-detail {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.template-detail h2 {
  font-size: 32px;
  margin: 10px 0 22px;
}
.template-detail dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 25px;
  gap: 15px;
}
.template-detail dt {
  font-size: 11px;
  text-transform: uppercase;
  color: #818896;
  letter-spacing: 0.1em;
  font-weight: 800;
}
.template-detail dd {
  margin: 3px 0 0;
  font-weight: 800;
  color: var(--navy);
}
.external-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 13px;
}
.search-summary {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.prose h2 {
  font-size: 30px;
  margin-top: 35px;
}
.prose p {
  font-size: 17px;
  color: #626a78;
  line-height: 1.85;
}
.prose .button {
  margin-top: 16px;
}
.site-footer {
  background: #222b42;
  color: #c2c8d4;
  padding-top: 65px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 65px;
}
.footer-brand {
  font-family: Manrope, sans-serif;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.footer-intro p {
  max-width: 300px;
  font-size: 14px;
  margin: 12px 0 0;
}
.footer-grid h2 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 5px 0 20px;
}
.footer-grid a:not(.footer-brand) {
  display: block;
  font-size: 13px;
  margin-bottom: 11px;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 20px;
  font-size: 12px;
}
@media (max-width: 1050px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid {
    gap: 35px;
  }
  .hero-visual {
    height: 470px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 28px;
  }
  .prompt-grid {
    grid-template-columns: 1fr;
  }
  .prompt-image {
    height: 500px;
  }
  .prompt-card {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 600px);
  }
  .header-inner {
    min-height: 70px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .menu-toggle {
    display: flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--orange);
    padding: 12px 16px 22px;
    box-shadow: 0 14px 24px rgba(35, 36, 40, 0.15);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav.is-open {
    display: flex;
  }
  .primary-nav a {
    padding: 13px 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
  .primary-nav .nav-search {
    border: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
  }
  .nav-search-label {
    display: inline;
  }
  .hero {
    padding-block: 55px 70px;
  }
  .hero-grid,
  .how-grid,
  .template-grid,
  .faq-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(42px, 10vw, 60px);
  }
  .hero-visual {
    height: 390px;
    margin-top: 25px;
  }
  .hero-image-main {
    width: 58%;
    left: 5%;
  }
  .hero-image-small {
    width: 49%;
    right: 3%;
  }
  .hero-sticker {
    width: 80px;
    height: 80px;
    font-size: 10px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 16px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    min-height: 175px;
  }
  .topic-name {
    font-size: 30px;
  }
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .card-image {
    height: 180px;
  }
  .card-body {
    padding: 17px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .card-body p {
    font-size: 13px;
  }
  .how-grid {
    gap: 22px;
  }
  .template-grid {
    gap: 40px;
  }
  .template-art {
    height: 420px;
  }
  .article-shell {
    padding-top: 30px;
  }
  .article-header {
    margin-bottom: 38px;
  }
  .article-header h1 {
    font-size: clamp(36px, 9vw, 52px);
  }
  .article-sidebar {
    position: static;
    grid-row: 2;
  }
  .quick-answer {
    margin-bottom: 42px;
  }
  .prompt-grid {
    grid-template-columns: 1fr;
  }
  .prompt-image {
    height: auto;
    aspect-ratio: 4/5;
  }
  .prompt-section {
    margin-bottom: 50px;
  }
  .related-section {
    margin-top: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-intro {
    grid-column: 1/-1;
  }
}
@media (max-width: 520px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .card-image {
    height: 235px;
  }
  .search-form {
    gap: 7px;
    padding-left: 12px;
  }
  .search-form input {
    font-size: 12px;
  }
  .search-form button {
    padding: 11px 12px;
    font-size: 12px;
  }
  .hero-visual {
    height: 325px;
  }
  .hero-sticker {
    top: -8px;
  }
  .section-space {
    padding-block: 67px;
  }
  .page-intro {
    padding-block: 52px;
  }
  .page-intro h1 {
    font-size: 42px;
  }
  .prompt-heading-row {
    align-items: start;
  }
  .prompt-number {
    font-size: 30px;
  }
  .prompt-heading-row h2 {
    font-size: 27px;
  }
  .prompt-actions {
    flex-direction: column;
  }
  .template-feature {
    height: 440px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
