:root {
  color-scheme: light;
  --canvas: #f7f8f5;
  --paper: #ffffff;
  --ink: #202527;
  --muted: #68716c;
  --green: #176f5b;
  --deep-green: #114e41;
  --line: #dfe5dd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 3px; }

.site-header, .site-footer { width: min(100% - 80px, 1220px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.site-header { height: 86px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: 22px; font-weight: 750; letter-spacing: -.045em; }
.brand img { display: block; }
.site-header nav, .site-footer div { display: flex; align-items: center; gap: 34px; }
.site-header nav { font-size: 14px; font-weight: 650; }
.site-header nav a[aria-current="page"] { color: var(--green); }

.hero, .methods, .privacy-note { width: min(100% - 80px, 1220px); margin-inline: auto; }
.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 34px; padding: 56px 0 82px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 18px; }
.hero h1, .policy-heading h1 { margin: 0; font-size: clamp(64px, 6.6vw, 106px); line-height: .99; letter-spacing: -.078em; font-weight: 760; }
.hero-description { max-width: 475px; margin: 32px 0 0; font-size: 19px; line-height: 1.63; color: #4f5953; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 38px; flex-wrap: wrap; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 8px; padding: 0 18px; font-size: 14px; font-weight: 680; }
.button-primary { background: var(--green); color: var(--paper); }
.button-primary:hover { background: var(--deep-green); color: var(--paper); }
.button span { font-size: 20px; line-height: 1; font-weight: 400; }
.release-note { max-width: 170px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.hero-art { min-width: 0; position: relative; padding: 34px 60px 60px 0; }
.browser-frame { overflow: hidden; min-height: 430px; border-radius: 13px; border: 1px solid #d2dad3; background: #fff; box-shadow: 0 25px 80px rgba(32, 58, 43, .10); }
.browser-toolbar { height: 41px; display: flex; align-items: center; gap: 12px; padding: 0 15px; background: #f4f6f3; border-bottom: 1px solid #e6eae4; color: #85908a; font-size: 10px; }
.browser-dots { display: flex; gap: 4px; }
.browser-dots i { width: 6px; height: 6px; border-radius: 50%; background: #bdc7bd; }
.toolbar-mark { width: 13px; height: 13px; border: 3px solid var(--green); border-radius: 4px; transform: rotate(-9deg); margin-left: auto; }
.browser-page { position: relative; height: 390px; padding: 27px 29px; }
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 41px; }
.page-logo { width: 57px; height: 12px; border-radius: 3px; background: #31443b; margin-right: auto; }
.page-nav { width: 37px; height: 5px; border-radius: 3px; background: #d8ded8; }
.page-nav.short { width: 27px; }
.page-title { width: 44%; height: 17px; border-radius: 4px; background: #34473e; }
.page-subtitle { width: 68%; height: 7px; border-radius: 4px; background: #dce2dc; margin: 13px 0 26px; }
.page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.page-card { min-width: 0; height: 214px; border: 1px solid #e6eae4; border-radius: 8px; padding: 10px; background: white; }
.page-card.selected { position: relative; outline: 2px solid var(--green); outline-offset: 4px; }
.page-card.muted { opacity: .66; }
.card-picture { position: relative; height: 118px; overflow: hidden; border-radius: 5px; background: #d9e8d8; }
.picture-sun { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #f8f7db; top: 22px; right: 33px; }
.picture-hill { position: absolute; width: 170px; height: 90px; border-radius: 50% 50% 0 0; background: #93bb9e; bottom: -48px; left: -16px; box-shadow: 116px 9px 0 #6fa787; }
.card-line { display: block; width: 73%; height: 6px; border-radius: 3px; margin-top: 10px; background: #dce3dc; }
.card-line.wide { width: 93%; height: 9px; margin-top: 14px; background: #52675a; }
.card-line.short { width: 48%; }
.selection-tag { position: absolute; left: 29px; bottom: 13px; padding: 7px 9px; border-radius: 5px; background: var(--green); color: white; font-size: 10px; font-weight: 650; }
.result-preview { width: 212px; position: absolute; right: 0; bottom: 0; padding: 9px; border: 1px solid #d6dfd5; border-radius: 9px; background: #fff; box-shadow: 0 18px 60px rgba(22, 61, 40, .19); transform: rotate(3deg); }
.result-top { display: flex; align-items: center; gap: 6px; height: 25px; font-size: 8px; font-weight: 700; }
.tiny-mark { width: 10px; height: 10px; border: 2px solid var(--green); border-radius: 3px; transform: rotate(-9deg); }
.result-close { margin-left: auto; color: #8b958c; font-size: 15px; }
.result-image { padding: 7px; border: 1px solid #e4e9e3; border-radius: 5px; }
.result-image .card-picture { height: 97px; }
.result-image .card-line { height: 4px; margin-top: 6px; }
.result-image .card-line.wide { height: 6px; margin-top: 9px; }
.result-actions { display: flex; justify-content: flex-end; gap: 6px; padding-top: 8px; }
.result-actions span { border: 1px solid var(--line); border-radius: 3px; padding: 4px 6px; font-size: 7px; }

.methods { border-top: 1px solid var(--line); padding: 81px 0 89px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 37px; }
.section-intro h2, .privacy-note h2 { margin: 0; font-size: clamp(30px, 3vw, 43px); line-height: 1.12; letter-spacing: -.055em; }
.section-intro p { max-width: 300px; margin: 0 0 4px; color: var(--muted); line-height: 1.6; font-size: 15px; }
.method-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method { min-height: 169px; padding: 28px 35px 26px 0; }
.method + .method { border-left: 1px solid var(--line); padding-left: 35px; }
.method-icon { height: 30px; margin-bottom: 25px; color: var(--green); }
.icon-element span { display: block; width: 24px; height: 21px; border: 2px dashed currentColor; border-radius: 3px; }
.icon-visible span { display: block; width: 29px; height: 20px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.icon-visible span:after { content: ""; position: absolute; inset: 5px; background: #b8d3bf; }
.icon-full span { display: block; width: 25px; height: 27px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.icon-full span:after { content: ""; position: absolute; top: 8px; left: 4px; right: 4px; border-top: 2px solid currentColor; }
.method h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.03em; }
.method p { max-width: 270px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.privacy-note { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 28px; align-items: start; padding: 34px 0 82px; }
.privacy-symbol { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #a9c7ad; border-radius: 50%; font-size: 10px; color: var(--green); }
.privacy-note h2 { font-size: 24px; letter-spacing: -.04em; }
.privacy-note p { max-width: 680px; margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.privacy-note > a { font-size: 13px; font-weight: 680; color: var(--green); white-space: nowrap; padding-top: 7px; }
.privacy-note > a:hover { text-decoration: underline; }
.site-footer { min-height: 89px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer a:hover { color: var(--green); }

.policy-layout { width: min(100% - 80px, 1060px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 80px; padding: 96px 0 112px; }
.policy-heading h1 { font-size: clamp(58px, 5.3vw, 82px); }
.policy-heading > p { margin: 25px 0 19px; max-width: 370px; color: #4f5953; font-size: 17px; line-height: 1.65; }
.policy-date { color: var(--muted); font-size: 12px; }
.policy-content section { border-bottom: 1px solid var(--line); padding: 0 0 27px; margin-bottom: 30px; }
.policy-content section:last-child { margin-bottom: 0; }
.policy-content h2 { margin: 0 0 15px; font-size: 22px; letter-spacing: -.045em; }
.policy-content p { margin: 0 0 14px; color: #4f5953; font-size: 15px; line-height: 1.72; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.policy-content code { font-size: .9em; background: #edf1eb; padding: 2px 4px; border-radius: 3px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 10px; padding: 74px 0 80px; }
  .hero-description { max-width: 560px; }
  .hero-art { width: min(100%, 650px); margin: 10px auto 0; }
  .policy-layout { grid-template-columns: 1fr; gap: 57px; padding-top: 72px; }
  .policy-heading > p { max-width: 680px; }
}

@media (max-width: 620px) {
  .site-header, .site-footer, .hero, .methods, .privacy-note, .policy-layout { width: min(100% - 36px, 1220px); }
  .site-header { height: 72px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .site-header nav { gap: 17px; font-size: 12px; }
  .hero { padding: 67px 0 58px; }
  .hero h1 { font-size: clamp(59px, 14vw, 82px); }
  .hero-description { font-size: 16px; line-height: 1.6; margin-top: 23px; }
  .hero-actions { margin-top: 29px; }
  .hero-art { padding: 16px 26px 29px 0; }
  .browser-frame { min-height: 285px; }
  .browser-page { height: 250px; padding: 16px; }
  .page-head { margin-bottom: 27px; }
  .page-layout { gap: 8px; }
  .page-card { height: 156px; padding: 6px; }
  .card-picture { height: 78px; }
  .page-card .card-line { margin-top: 6px; }
  .page-card .card-line.wide { margin-top: 9px; }
  .selection-tag { left: 16px; bottom: 8px; }
  .result-preview { width: 136px; padding: 6px; }
  .result-image .card-picture { height: 55px; }
  .result-image .card-line { margin-top: 4px; }
  .result-top { font-size: 6px; }
  .result-actions span { font-size: 6px; }
  .methods { padding: 62px 0 52px; }
  .section-intro { display: block; margin-bottom: 27px; }
  .section-intro p { margin-top: 14px; }
  .method-list { display: block; }
  .method, .method + .method { min-height: 0; border-left: 0; padding: 25px 0; }
  .method + .method { border-top: 1px solid var(--line); }
  .method-icon { float: left; width: 45px; margin: 0; }
  .method h3, .method p { margin-left: 45px; }
  .privacy-note { grid-template-columns: 29px 1fr; gap: 16px; padding: 8px 0 64px; }
  .privacy-note > a { grid-column: 2; padding-top: 0; }
  .privacy-note h2 { font-size: 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding: 23px 0; }
  .site-footer div { flex-wrap: wrap; gap: 13px 20px; }
  .policy-layout { padding: 64px 0 68px; gap: 46px; }
  .policy-heading h1 { font-size: 60px; }
}

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