/* Hallmark · macrostructure: Editorial Flow · theme: CookClip paper · nav: N5 floating pill */
@import url("./premium-system.css?v=20260718-hallmark-5");

:root {
  --cream: #fbf8f3;
  --cream-deep: #f2eadf;
  --ink: #1b1814;
  --ink-soft: #625646;
  --line: #ded3c3;
  --accent: #d85a2a;
  --accent-deep: #ad431d;
  --white: #fffdfa;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Geist", "Segoe UI", sans-serif;
  letter-spacing: -.011em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.025em; }
.page { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(222, 211, 195, .85); background: rgba(251, 248, 243, .94); backdrop-filter: blur(14px); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.08rem; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand-clip { color: #ff6a00; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; color: var(--ink-soft); font-size: .94rem; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.language-picker { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.language-picker a { min-width: 31px; padding: .3rem .42rem; border-radius: 6px; text-align: center; font-size: .78rem; }
.language-picker a[aria-current="page"] { background: var(--ink); color: white; }
.nav-cta, .button-primary { background: var(--accent); color: white !important; }
.nav-cta { padding: .62rem .9rem; border-radius: 10px; }
.hero { padding: 5.5rem 0 4.5rem; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #fffaf5, var(--cream)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 4rem; align-items: center; }
.eyebrow { margin-bottom: .8rem; color: var(--accent-deep); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { max-width: 780px; margin-bottom: 1rem; font-size: clamp(2.45rem, 6vw, 4.7rem); line-height: .98; }
.hero-sub { max-width: 710px; margin-bottom: 1.4rem; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.55; }
.hero-note { color: var(--ink-soft); font-size: .92rem; }
.hero-image { max-height: 560px; margin: auto; object-fit: contain; filter: drop-shadow(0 24px 32px rgba(60, 35, 18, .15)); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1.05rem; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; }
.button-secondary { background: var(--white); }
.section { padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.section-soft { background: var(--cream-deep); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: .8rem; font-size: clamp(1.9rem, 4vw, 3rem); }
.section-heading p { color: var(--ink-soft); line-height: 1.65; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.blog-card { overflow: hidden; }
.card-image {
  width: 100%;
  height: 150px;
  margin-bottom: 1rem;
  border-radius: 11px;
  object-fit: cover;
}
.card h2, .card h3 { margin-bottom: .55rem; font-size: 1.16rem; }
.card p { margin-bottom: .8rem; color: var(--ink-soft); line-height: 1.55; }
.card-link { color: var(--accent-deep); font-weight: 700; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; color: var(--ink-soft); font-size: .88rem; }
.page-hero { padding: 4rem 0 3.2rem; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #fffaf5, var(--cream)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 2.75rem; align-items: center; }
.page-hero h1 { max-width: 840px; font-size: clamp(2.3rem, 5vw, 4.3rem); }
.editorial-media, .phone-media, .screenshot-frame { margin: 0; }
.editorial-media { width: min(100%, 440px); justify-self: end; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 42px rgba(61, 39, 20, .12); }
.editorial-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog-index-hero, .blog-article-hero { padding: 2.8rem 0 2.35rem; }
.blog-index-hero .editorial-media { width: min(100%, 360px); }
.blog-article-hero .editorial-media { width: min(100%, 320px); }
.blog-index-hero .editorial-image, .blog-article-hero .editorial-image { aspect-ratio: 2 / 1; }
.phone-media { display: grid; place-items: center; min-height: 430px; }
.phone-shot { width: min(100%, 285px); max-height: 500px; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(55, 35, 18, .18)); }
.screenshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; align-items: stretch; }
.screenshot-frame { display: grid; place-items: center; min-height: 330px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.screenshot-image { width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(55, 35, 18, .13)); }
.article-shell { display: grid; grid-template-columns: minmax(0, 720px) minmax(220px, 1fr); gap: 4rem; align-items: start; }
.article-copy { font-size: 1.03rem; line-height: 1.7; }
.article-copy h2 { margin: 2.5rem 0 .8rem; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.article-copy p, .article-copy li { color: var(--ink-soft); }
.article-copy li + li { margin-top: .7rem; }
.article-block + .article-block { margin-top: 3.75rem; }
.article-block > h2:first-child, .article-block > .eyebrow + h2 { margin-top: 0; }
.quick-answer { padding: 1.35rem; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--cream-deep); }
.quick-answer h2 { margin-top: 0; }
.prep-panel, .mistakes-panel, .checklist-panel { padding: 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.step-list { display: grid; gap: 1rem; margin-top: 1.25rem; }
.article-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.article-step:first-child { border-top: 0; padding-top: 0; }
.article-step h3 { margin: 0 0 .55rem; font-size: 1.18rem; }
.article-step p { margin-bottom: .7rem; }
.article-step p:last-child { margin-bottom: 0; }
.step-number { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--accent); color: white; font-weight: 700; }
.product-walkthrough > p:not(.eyebrow) { max-width: 62ch; }
.app-screenshot-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.35rem; }
.app-screenshot-card { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: .9rem; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.app-screenshot-image { width: min(100%, 190px); max-height: 410px; object-fit: contain; filter: drop-shadow(0 14px 20px rgba(55, 35, 18, .12)); }
.app-screenshot-card figcaption { color: var(--ink-soft); font-size: .82rem; line-height: 1.45; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.related-card { display: flex; min-height: 145px; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.related-card span { color: var(--accent-deep); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.related-card strong { line-height: 1.35; }
.side-card { position: sticky; top: 96px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.side-card-image { width: 100%; max-height: 230px; margin-bottom: 1.1rem; border-radius: 12px; object-fit: contain; }
.side-card p { color: var(--ink-soft); line-height: 1.55; }
.faq-list { display: grid; gap: .8rem; }
.faq-list details { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list details p { margin: .75rem 0 0; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; border-radius: 18px; background: var(--ink); color: white; }
.cta-panel h2 { margin-bottom: .4rem; }
.cta-panel p { margin-bottom: 0; color: #ded6cc; }
.site-footer { padding: 2rem 0; background: #171411; color: #d8d0c8; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-wrap p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* The calculators keep their established component CSS; these rules only align
   the compact Indonesian editorial shell around them. */
.calculator-shell + .section { border-top: 0; }

@media (max-width: 800px) {
  .page { width: min(100% - 2rem, var(--max)); }
  .nav { align-items: flex-start; padding: .8rem 0; }
  .nav-links { justify-content: flex-end; flex-wrap: wrap; gap: .7rem 1rem; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .hero, .page-hero { padding: 3.5rem 0 3rem; }
  .hero-grid, .page-hero-grid, .article-shell { grid-template-columns: 1fr; gap: 2rem; }
  .editorial-media { max-width: 440px; justify-self: start; }
  .blog-index-hero .editorial-media { max-width: 340px; }
  .blog-article-hero .editorial-media { max-width: 300px; }
  .phone-media { min-height: 0; }
  .phone-shot { max-height: 420px; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-frame { min-height: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-image { max-height: 440px; }
  .card-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .cta-panel, .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .page { width: min(100% - 1.4rem, var(--max)); }
  .page-hero { padding: 2.8rem 0 2.5rem; }
  .blog-index-hero, .blog-article-hero { padding: 2rem 0 1.8rem; }
  .page-hero-grid { gap: 1.6rem; }
  .editorial-media { border-radius: 15px; }
  .blog-index-hero .editorial-media, .blog-article-hero .editorial-media { width: 100%; max-width: none; }
  .section { padding: 3.5rem 0; }
  .article-block + .article-block { margin-top: 4rem; }
  .article-step { gap: .75rem; }
  .step-number { width: 2rem; height: 2rem; }
  .app-screenshot-strip { display: flex; width: calc(100% + .7rem); gap: .8rem; margin-right: -.7rem; overflow-x: auto; padding: .15rem .7rem .8rem 0; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .app-screenshot-card { flex: 0 0 min(72vw, 230px); scroll-snap-align: start; }
  .app-screenshot-image { width: min(100%, 170px); max-height: 360px; }
  .side-card-image { width: min(100%, 180px); margin-inline: auto; }
}
