:root {
  color-scheme: light;
  --ink: #29231f;
  --muted: #696058;
  --paper: #f3efe6;
  --paper-deep: #e7dfd1;
  --card: #fbf8f1;
  --line: #c9bfae;
  --line-dark: #9b8e7b;
  --aqua: #65c6ca;
  --aqua-dark: #187b82;
  --aqua-soft: #d9efed;
  --aubergine: #541d44;
  --purple: #6647d8;
  --purple-soft: #e8e2ff;
  --amber: #e8a83d;
  --success: #176b4e;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", "Noto Serif", Georgia, serif;
  --font-body: Aptos, "Segoe UI", "Trebuchet MS", Frutiger, system-ui, sans-serif;
  --font-label: "Aptos Narrow", "Arial Narrow", "Segoe UI", sans-serif;
  font-family: var(--font-body);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; }
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(72, 56, 43, .022) 31px 32px);
  content: "";
  pointer-events: none;
}
a { color: inherit; text-underline-offset: 3px; }
button, .button { font: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }
h1 { max-width: 760px; margin-bottom: 27px; font-size: clamp(49px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 49px); line-height: 1.08; letter-spacing: -.025em; }
h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.15; letter-spacing: -.012em; }

.site-header {
  display: flex;
  width: min(1200px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand > img { width: 51px; height: 51px; object-fit: contain; filter: drop-shadow(0 5px 6px rgba(54, 25, 45, .13)); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-family: var(--font-display); font-size: 18px; font-weight: 650; letter-spacing: -.012em; }
.brand-copy small { color: var(--muted); font-size: 11px; letter-spacing: .025em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--aubergine); }
.language-link { padding: 7px 9px 6px; border: 1px solid var(--line-dark); background: transparent; color: var(--aubergine); font-family: var(--font-label); letter-spacing: .06em; }

main { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.development-banner { margin: 0; padding: 9px 13px; border-bottom: 1px solid #b98225; background: #f8e8bd; color: #69470d; font-size: 13px; font-weight: 700; text-align: center; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--aubergine); font-family: var(--font-label); font-size: 11px; font-weight: 800; letter-spacing: .145em; }
.kicker::before { width: 29px; height: 1px; background: currentColor; content: ""; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr); min-height: 620px; align-items: center; gap: clamp(55px, 8vw, 112px); padding: 82px 0 104px; }
.hero-copy { position: relative; }
.hero-copy::after { display: block; width: 78px; height: 8px; margin-top: 47px; background: repeating-linear-gradient(90deg, var(--aqua-dark) 0 2px, transparent 2px 8px); content: ""; }
.hero-text { max-width: 675px; margin-bottom: 30px; color: var(--muted); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 750; text-decoration: none; transition: background .15s ease, color .15s ease, transform .15s ease; }
.button:not(.disabled):hover { transform: translateY(-1px); }
.button.primary { border-color: var(--aubergine); background: var(--aubergine); color: white; }
.button.primary:not(.disabled):hover { background: #3d1432; }
.button.secondary { border-color: var(--line-dark); background: transparent; }
.button.secondary:hover { background: var(--card); }
.button.disabled { cursor: not-allowed; opacity: .58; }

.identity-panel { border: 1px solid var(--line-dark); border-radius: 4px; background: var(--card); box-shadow: 12px 12px 0 var(--aqua-soft); }
.identity-mark-wrap { display: grid; min-height: 365px; place-items: center; padding: 34px; background: #e8f2ef; }
.identity-mark-wrap img { width: min(330px, 86%); height: auto; filter: drop-shadow(0 16px 19px rgba(74, 23, 61, .15)); }
.roots-note { display: grid; grid-template-columns: 74px 1fr; gap: 19px; padding: 22px 24px 24px; border-top: 1px solid var(--line); }
.roots-note > strong { color: var(--aqua-dark); font-family: var(--font-label); font-size: 12px; letter-spacing: .12em; }
.roots-note h2 { margin: -3px 0 7px; font-size: 23px; }
.roots-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.52; }

.section-heading { padding-top: 112px; border-top: 1px solid var(--line); }
.split-heading { display: grid; grid-template-columns: .31fr 1fr; align-items: start; gap: 58px; }
.split-heading > div > p { max-width: 800px; color: var(--muted); font-size: 18px; line-height: 1.67; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 19px; margin: 45px 0 115px; }
.project-card { overflow: hidden; border: 1px solid var(--line-dark); border-radius: 3px; background: var(--card); }
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { display: grid; grid-column: span 12; grid-template-columns: .83fr 1.17fr; }
.project-visual { position: relative; overflow: hidden; min-height: 300px; border-bottom: 1px solid var(--line-dark); }
.project-card:nth-child(3) .project-visual { border-right: 1px solid var(--line-dark); border-bottom: 0; }
.project-copy { padding: 29px 29px 30px; }
.project-copy h3 { margin-bottom: 15px; font-size: 32px; }
.project-copy > p:not(.project-type) { color: var(--muted); line-height: 1.62; }
.project-type { margin-bottom: 12px; color: var(--aubergine); font-family: var(--font-label); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.project-status { color: var(--muted); font-size: 11px; font-weight: 700; }
.project-status::before { margin-right: 7px; color: var(--aqua-dark); content: "●"; font-size: 8px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.project-meta a { color: var(--aubergine); font-size: 12px; font-weight: 800; text-decoration: none; }
.project-meta a:hover { text-decoration: underline; }

.qr-visual { background: #b8deda; }
.qr-visual::before { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 20px, rgba(41,35,31,.055) 20px 21px); content: ""; }
.phone { position: absolute; z-index: 2; top: 43px; left: 50%; display: grid; width: 142px; height: 247px; margin-left: -71px; place-items: center; border: 7px solid var(--aubergine); border-radius: 18px; background: #fffdf8; box-shadow: 10px 13px 0 rgba(84, 29, 68, .15); transform: rotate(3deg); }
.phone::before { position: absolute; top: 8px; width: 38px; height: 4px; background: var(--aubergine); content: ""; }
.phone i { position: absolute; inset: 34px 13px auto; height: 72px; background: repeating-linear-gradient(45deg, var(--aubergine) 0 7px, #fffdf8 7px 14px); }
.phone b { margin-top: 57px; color: var(--aubergine); font-family: var(--font-display); font-size: 50px; font-weight: 600; }
.phone small { align-self: start; color: var(--aqua-dark); font-weight: 800; }
.map-line { position: absolute; top: 35px; right: -30px; width: 330px; height: 250px; border: 2px dashed rgba(74, 23, 61, .29); border-radius: 48%; transform: rotate(-17deg); }
.map-dot { position: absolute; width: 19px; height: 19px; border: 4px solid #fffdf8; border-radius: 50%; background: var(--aubergine); }
.map-dot.one { top: 40px; right: 68px; }
.map-dot.two { right: 38px; bottom: 34px; }

.manuscript-visual { background: #4a2b41; }
.manuscript-visual::after { position: absolute; right: 22px; bottom: 18px; color: rgba(255,255,255,.18); content: "MANUSKRIPT"; font-family: var(--font-label); font-size: 10px; letter-spacing: .25em; }
.page { position: absolute; top: 50px; left: 50%; display: block; width: 170px; height: 226px; margin-left: -85px; border: 1px solid #d5c9b8; border-radius: 2px; background: #fdf9ee; box-shadow: 10px 13px 0 rgba(0,0,0,.19); }
.page-back { transform: translate(-19px, 7px) rotate(-7deg); opacity: .42; }
.page-front { display: grid; align-content: end; gap: 10px; padding: 23px; transform: rotate(3deg); }
.page-front i { display: block; height: 5px; background: #d8cfc3; }
.page-front i:nth-child(2) { width: 75%; }
.page-front i:nth-child(3) { width: 46%; }
.page-front b { position: absolute; top: 24px; left: 24px; color: #8b55ba; font-family: var(--font-display); font-size: 76px; font-style: italic; font-weight: 500; }

.addon-visual { min-height: 330px; background: #bcb1ec; }
.addon-visual::before { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 47px, rgba(61,43,116,.07) 47px 48px); content: ""; }
.mini-window { position: absolute; top: 50%; left: 50%; display: flex; width: 78%; min-height: 174px; margin: -87px 0 0 -39%; align-items: flex-end; gap: 9px; padding: 70px 22px 23px; border: 1px solid #6e5cae; border-radius: 3px; background: #fffdf8; box-shadow: 12px 13px 0 rgba(58, 39, 119, .18); transform: rotate(-1deg); }
.mini-window::before { position: absolute; top: 41px; right: 0; left: 0; height: 1px; background: #d8d0e6; content: ""; }
.mini-window i { position: absolute; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: #9d93ad; }
.mini-window i:nth-child(1) { left: 18px; }
.mini-window i:nth-child(2) { left: 31px; }
.mini-window b { padding: 9px 12px; border: 1px solid #c7baf1; border-radius: 2px; background: #f1ecff; color: #4b2ba7; font-size: 11px; }

.services-section { padding: 0 0 116px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 45px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-grid article { min-height: 288px; padding: 27px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(251,248,241,.62); }
.service-grid article > span { display: block; margin-bottom: 72px; color: var(--aqua-dark); font-family: var(--font-label); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.service-grid p { margin: 0; color: var(--muted); line-height: 1.58; }

.tools-section { margin: 0 calc((100vw - min(1200px, calc(100vw - 48px))) / -2); padding: 112px max(24px, calc((100vw - 1200px) / 2)); background: #302a35; color: #fffaf0; }
.tools-section .kicker { color: #b9aaef; }
.tools-intro { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 82px; margin-bottom: 68px; }
.tools-intro > div:first-child > p:last-child { max-width: 650px; color: #cbc3cc; font-size: 18px; line-height: 1.67; }
.compose-demo { position: relative; overflow: hidden; min-height: 315px; border: 1px solid #746b78; border-radius: 3px; background: #fffdf8; color: var(--ink); box-shadow: 12px 12px 0 rgba(102,71,216,.27); }
.window-bar { display: flex; min-height: 45px; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid #d4cbd5; background: #eee9ee; }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #aaa1ad; }
.window-bar strong { margin-left: 8px; color: #665f68; font-size: 11px; }
.address-lines { display: grid; gap: 11px; padding: 20px 21px 17px; }
.address-lines i { display: block; height: 7px; background: #e5dfe5; }
.address-lines i:nth-child(1) { width: 74%; }
.address-lines i:nth-child(2) { width: 92%; }
.quickbar { display: flex; gap: 8px; margin: 0 -1px; padding: 11px 14px; border: 1px solid #c9bdf2; background: #eee9ff; }
.quickbar button { display: inline-flex; min-height: 35px; align-items: center; padding: 0 10px; border: 1px solid #c6b9ef; border-radius: 2px; background: #fffdf8; color: #393346; font-size: 11px; font-weight: 750; }
.quickbar .palette-button { width: 35px; margin-left: auto; justify-content: center; padding: 0; background: var(--purple); color: white; }
.message-lines { display: grid; gap: 12px; padding: 28px 27px; }
.message-lines span { display: block; height: 6px; background: #dfd9df; }
.message-lines span:nth-child(1) { width: 88%; }
.message-lines span:nth-child(2) { width: 77%; }
.message-lines span:nth-child(3) { width: 82%; }
.comparison { overflow: hidden; border: 1px solid #83798a; border-radius: 3px; background: #fffdf8; color: var(--ink); }
.comparison-row { display: grid; grid-template-columns: 1fr 170px 220px; min-height: 57px; align-items: stretch; border-bottom: 1px solid #d7cfca; }
.comparison-row:last-child { border-bottom: 0; }
.comparison-row > span { display: flex; align-items: center; justify-content: center; padding: 12px 20px; }
.comparison-row > span:first-child { justify-content: flex-start; font-weight: 650; }
.comparison-head { min-height: 108px; }
.comparison-head > span { flex-direction: column; gap: 3px; }
.comparison-head b { font-family: var(--font-display); font-size: 29px; font-weight: 600; }
.comparison-head small { color: var(--muted); }
.pro-column { border-left: 1px solid #c9bdf2; background: var(--purple-soft); color: #4324ad; }
.purchase-box { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-top: 30px; padding-top: 27px; border-top: 1px solid #655d68; }
.purchase-box > div:first-child { display: grid; gap: 7px; }
.purchase-box p { max-width: 720px; margin: 0; color: #c7bec8; line-height: 1.55; }
.download-note, .store-note { display: block; color: #9f95a2; font-size: 12px; }
.purchase-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.tools-section .button.secondary { border-color: #b7adba; color: white; }
.tools-section .button.secondary:hover { background: #433b48; }
.tools-section .button.primary { border-color: #8063eb; background: #8063eb; }

.privacy-promise { display: grid; grid-template-columns: 82px 1fr; align-items: start; gap: 23px; margin: 100px 0 112px; padding: 35px; border: 1px solid var(--line-dark); border-radius: 3px; background: var(--aqua-soft); }
.privacy-promise > img { width: 62px; height: 62px; object-fit: contain; filter: grayscale(1) contrast(1.3); opacity: .76; }
.privacy-promise h2 { margin-bottom: 9px; font-size: 35px; }
.privacy-promise p { max-width: 880px; margin: 0; color: #514b45; line-height: 1.62; }

.about-section { display: grid; grid-template-columns: .39fr 1fr; align-items: center; gap: 78px; padding: 0 0 120px; }
.about-mark { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid var(--line-dark); background: rgba(251,248,241,.68); box-shadow: 10px 10px 0 var(--paper-deep); }
.about-mark img { width: 78%; height: auto; }
.about-section > div:last-child > p:not(.kicker) { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.68; }

.contact-section { position: relative; margin-bottom: 110px; padding: clamp(42px, 6vw, 72px); border: 1px solid #397f82; border-radius: 3px; background: var(--aqua); color: #173335; box-shadow: 12px 12px 0 #b5dedb; }
.contact-section::after { position: absolute; top: 18px; right: 20px; width: 56px; height: 56px; border-top: 1px solid rgba(23,51,53,.44); border-right: 1px solid rgba(23,51,53,.44); content: ""; }
.contact-section h2 { max-width: 820px; font-size: clamp(39px, 5.4vw, 63px); }
.contact-section > p:not(.kicker) { max-width: 720px; margin-bottom: 28px; font-size: 18px; line-height: 1.58; }
.contact-section .kicker { color: #1e5659; }
.contact-button { border-color: var(--aubergine); background: var(--aubergine); color: white; }

footer { display: flex; width: min(1200px, calc(100% - 48px)); margin: 0 auto; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 35px 0 52px; border-top: 1px solid var(--line-dark); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 45px; height: 45px; object-fit: contain; }
footer p { max-width: 560px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.48; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px; }
.footer-links a { color: var(--muted); font-size: 13px; }

.legal-page main { width: min(780px, calc(100% - 48px)); padding: 70px 0 90px; }
.legal-page h1 { margin: 25px 0 42px; font-size: clamp(46px, 7vw, 70px); }
.legal-page h2 { margin-top: 38px; font-size: 26px; }
.legal-page p { color: var(--muted); line-height: 1.7; }
.legal-page a:not(.back-link) { text-underline-offset: 3px; }
.legal-meta { margin-top: -27px; font-size: 13px; }
.legal-divider { height: 1px; margin: 58px 0 42px; background: var(--line-dark); }
.back-link { font-weight: 700; text-decoration: none; }
.legal-warning { padding: 16px; border: 1px solid #b78224; background: #f8e8bd; color: #69470d !important; }

@media (max-width: 930px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .identity-panel { width: min(620px, calc(100% - 12px)); }
  .split-heading { grid-template-columns: 1fr; gap: 8px; }
  .project-card:nth-child(1), .project-card:nth-child(2), .project-card:nth-child(3) { grid-column: span 12; }
  .project-card:nth-child(3) { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-intro { grid-template-columns: 1fr; gap: 42px; }
  .compose-demo { width: min(650px, calc(100% - 12px)); }
  .about-section { grid-template-columns: .48fr 1fr; gap: 45px; }
}

@media (max-width: 680px) {
  .site-header { width: min(100% - 30px, 1200px); min-height: 79px; }
  .brand-copy small { display: none; }
  nav { gap: 10px; }
  nav a:not(.language-link) { display: none; }
  main, footer { width: min(100% - 30px, 1200px); }
  h1 { font-size: clamp(43px, 13vw, 61px); }
  h2 { font-size: clamp(32px, 10vw, 43px); }
  .hero { padding: 52px 0 80px; }
  .hero-copy::after { margin-top: 35px; }
  .identity-mark-wrap { min-height: 285px; }
  .roots-note { grid-template-columns: 1fr; }
  .section-heading { padding-top: 82px; }
  .project-grid { margin-bottom: 88px; }
  .project-card:nth-child(3) { display: block; }
  .project-card:nth-child(3) .project-visual { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .project-visual { min-height: 255px; }
  .project-meta { align-items: flex-start; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 225px; }
  .service-grid article > span { margin-bottom: 40px; }
  .tools-section { margin-right: -15px; margin-left: -15px; padding-right: 15px; padding-left: 15px; }
  .quickbar button { padding: 0 7px; font-size: 9px; }
  .comparison-row { grid-template-columns: 1fr 70px 91px; font-size: 12px; }
  .comparison-row > span { padding: 10px 7px; }
  .comparison-head b { font-size: 20px; }
  .purchase-box, footer { align-items: stretch; flex-direction: column; }
  .purchase-actions { flex-direction: column; }
  .purchase-box .button { width: 100%; }
  .privacy-promise { grid-template-columns: 1fr; padding: 27px; }
  .about-section { grid-template-columns: 1fr; padding-bottom: 88px; }
  .about-mark { width: min(280px, calc(100vw - 48px)); }
  .contact-section { margin-bottom: 82px; padding: 39px 25px; }
  .footer-links { justify-content: flex-start; }
}

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