:root {
  --bg: #fff8fb;
  --ink: #302632;
  --muted: #584b5a;
  --line: #eadfe8;
  --blue: #a94d78;
  --blue-dark: #793852;
  --pale: #f8e9f1;
  --shadow: 0 16px 48px rgba(67,37,58,.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); }
a { color: inherit; }
.container { width: min(1050px, calc(100% - 40px)); margin: 0 auto; }
.app-header {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px); border-bottom: 1px solid var(--line);
  background: rgba(255,248,251,.94); backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 20;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -1px; text-decoration: none; }
.logo-mark { width: 31px; height: 31px; background: var(--blue); color: #d9c7dc; display: grid; place-items: center; border-radius: 10px 10px 10px 2px; font-size: 19px; }
.public-nav { display: flex; align-items: center; gap: 26px; color: #514552; font-size: 14px; }
.public-nav a { text-decoration: none; }
.public-nav a:hover { color: var(--blue); }
.button { border: 0; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 17px; border-radius: 8px; font-size: 14px; font-weight: 750; transition: .18s ease; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 4px 12px rgba(121,56,82,.2); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button-quiet { color: var(--blue-dark); background: transparent; border: 1px solid var(--line); }
.button-quiet:hover { background: white; border-color: #d6bdce; }
.page-intro { padding: 66px 0 40px; }
.kicker { color: var(--blue-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; display: flex; align-items: center; gap: 9px; }
.kicker::before { content: ""; height: 1px; width: 24px; background: var(--blue); }
h1 { max-width: 760px; font-size: clamp(38px, 5vw, 58px); line-height: 1.02; letter-spacing: -2.8px; margin: 17px 0; }
h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 500; }
.intro-copy { max-width: 700px; color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; }
.tutorial-section { padding: 22px 0 76px; }
.tutorial-note { margin: 0 0 23px; padding: 14px 17px; border: 1px solid #ecd8e4; border-radius: 8px; background: #f9edf3; color: #514552; font-size: 14px; line-height: 1.7; }
.tutorial-list { display: grid; gap: 16px; }
.tutorial-step { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.tutorial-step:nth-child(even) .tutorial-figure { order: 2; }
.tutorial-copy .step-no { margin-bottom: 15px; }
.step-no { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: var(--pale); font: 14px Georgia,serif; }
.tutorial-copy h2 { font-size: 22px; letter-spacing: -.4px; margin: 0 0 10px; }
.tutorial-copy p, .tutorial-copy li { color: var(--muted); font-size: 14px; line-height: 1.75; }
.tutorial-copy p { margin: 0 0 10px; }
.tutorial-copy ul { padding-left: 17px; margin: 8px 0 0; }
.tutorial-copy li + li { margin-top: 4px; }
.tutorial-copy a { color: var(--blue-dark); text-underline-offset: 3px; }
.tutorial-figure { min-width: 0; margin: 0; }
.google-screenshot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 10px 28px rgba(67,37,58,.08); }
.google-screenshot-link { display: block; }
.google-screenshot-portrait { width: auto; max-width: 100%; max-height: 360px; margin-inline: auto; }
.google-screenshot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.google-screenshot-pair .google-screenshot { height: 100%; object-fit: contain; }
.tutorial-figure figcaption { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 8px; }
.tutorial-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; padding: 19px; background: #f8e9f1; border: 1px solid #ecd8e4; border-radius: 10px; }
.tutorial-links a { color: var(--blue-dark); font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
.lesson-visual { min-height: 220px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid #ecd8e4; border-radius: 10px; background: linear-gradient(145deg, #fff5f8, #eee6f1); }
.lesson-visual-label { color: var(--blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.lesson-visual h3 { color: var(--ink); font-size: 17px; letter-spacing: -.4px; line-height: 1.35; margin: 10px 0 14px; }
.lesson-visual ul { list-style: none; padding: 0; margin: 0; }
.lesson-visual li { display: flex; gap: 9px; align-items: start; padding: 8px 0; border-top: 1px solid rgba(169,77,120,.16); color: #514552; font-size: 12px; line-height: 1.55; }
.lesson-visual li::before { content: "✓"; color: var(--blue); font-weight: 800; }
.lesson-visual figcaption { margin-top: 13px; color: #584b5a; font-size: 12px; line-height: 1.6; }
.tutorial-note a { color: var(--blue-dark); }
.step-navigation { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0; }
.step-navigation .button[hidden] { display: none; }
.step-count { color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.next-step { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; padding: 23px; border-radius: 12px; background: var(--blue-dark); color: white; }
.next-step p { color: #fff4fb; font-size: 14px; line-height: 1.65; margin: 6px 0 0; }
.next-step h2 { font-size: 19px; letter-spacing: -.4px; margin: 0; }
.site-footer { border-top: 1px solid var(--line); color: #584b5a; font-size: 13px; }
.footer-main { width: min(1050px, calc(100% - 40px)); margin: 0 auto; padding: 29px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-brand .logo { color: var(--ink); }
.footer-brand p { color: var(--muted); margin: 9px 0 0 41px; font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: clamp(22px, 4vw, 54px); }
.footer-contact { display: grid; gap: 5px; }
.footer-contact > span { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact a, .footer-action { color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.footer-contact a:hover, .footer-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-action { white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--line); padding: 12px max(20px, calc((100% - 1050px) / 2)); color: var(--muted); font-size: 12px; }
@media (max-width: 760px) {
  .tutorial-step { grid-template-columns: 1fr; gap: 17px; padding: 18px; }
  .tutorial-step:nth-child(even) .tutorial-figure { order: initial; }
  .google-screenshot-pair { grid-template-columns: 1fr; }
  .step-navigation { align-items: stretch; }
  .step-navigation .button { padding-inline: 10px; font-size: 12px; }
}
@media (max-width: 620px) {
  .app-header { height: 62px; padding: 0 15px; }
  .public-nav { display: none; }
  .container { width: min(100% - 30px, 520px); }
  .page-intro { padding: 48px 0 27px; }
  h1 { font-size: 42px; letter-spacing: -2.4px; }
  .intro-copy { font-size: 15px; }
  .tutorial-section { padding-top: 15px; }
  .google-screenshot-pair { grid-template-columns: 1fr; }
  .next-step { display: block; padding: 21px; }
  .next-step .button { margin-top: 15px; }
  .footer-main { width: min(100% - 30px, 520px); align-items: start; flex-direction: column; gap: 22px; padding: 23px 0; }
  .footer-links { width: 100%; align-items: start; flex-wrap: wrap; gap: 18px 30px; }
  .footer-bottom { padding: 12px 15px; }
}
@media (max-width: 380px) {
  .app-header { padding-inline: 10px; }
  .logo { gap: 7px; font-size: 18px; }
  .app-header > .button { padding: 10px; font-size: 12px; }
  h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
