/* Futarigao: the site's one stylesheet, on the look's kit (/assets/look.css). A field of colour on top, the product
   overlapping its lower edge, heavy type, flat buttons. */
:root { --paper: #f6efe9; --sepia: #b99a7c; --field: #fff; }
::selection { background: var(--accent); color: #fff; }
html { scroll-padding-top: 1rem; }
body { font-feature-settings: "palt" 1; caret-color: var(--accent); }
h1, h2, h3 { font-weight: 900; word-break: keep-all; overflow-wrap: anywhere; }
.nb { display: inline-block; }
.btn { background: var(--deep); color: #fff; }
.btn.light { background: #fff; color: var(--deep); }
.btn.ghost { border-color: currentColor; }
a { color: var(--deep); }
.note { font-size: .9rem; color: var(--ink-2); }
.fun { font-size: .88rem; color: var(--ink-2); }

/* the top: the accent field with the nav */
.cover { background: var(--accent); color: #fff; }
.cover a { color: #fff; }
nav.cover { background: var(--deep); }
.hero { overflow-x: clip; }
.top .brand { color: #fff; font-family: var(--display); font-size: 1.1rem; padding-block: 6px; white-space: nowrap; }
.top .brand img { width: 36px; height: 36px; border-radius: 8px; }
.top nav, .top .acts { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.4rem); }
.top .login { font-weight: 700; text-decoration: none; padding: .7rem .2rem; white-space: nowrap; }
@media (max-width: 480px) { .top .hide-s { display: none; } }
.app-head p { overflow-wrap: anywhere; }
.more { padding-block: .6rem; }
p { text-wrap: pretty; }
.alt a, .foot .links a { display: inline-block; padding-block: .6rem; }
.top .login:hover { text-decoration: underline; }
.top .btn { min-height: 44px; padding: 0 1.1em; font-size: 1rem; }

/* the hero: a magazine cover */
.hero { padding: clamp(1rem, 3vw, 2.2rem) 0 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6.1vw, 5.5rem); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 clamp(1.2rem, 3vw, 2.2rem); }
.hero-row { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hero-copy p { font-size: clamp(1.18rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.6; margin: 0 0 1.4rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.cta .free { font-weight: 700; font-size: 1.2rem; }
.hero figure { margin: 0 0 -9rem; position: relative; }
.hero figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .7rem; }
.hero-art { position: absolute; right: -2rem; top: -3.2rem; width: 9rem; opacity: .95; pointer-events: none; }
.after-hero { padding-top: calc(9rem + var(--rhythm) * .6); }
@media (min-width: 900px) {
  .hero-row { grid-template-columns: minmax(260px, 340px) 1fr; }
  .hero figure { max-width: 700px; justify-self: end; width: 100%; margin-bottom: -12rem; }
  .after-hero { padding-top: calc(12rem + var(--rhythm) * .6); }
}

/* the product's own screen */
.result { max-height: 600px; display: flex; flex-direction: column; }
.result .body { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.result .bar { background: #fff; color: var(--ink-2); font-family: var(--text); }
.result .bar b { color: var(--ink); }
.result .body { padding: 1.1rem 1.2rem 0; }
.pair { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line-c); }
.pair .who { display: flex; gap: .3rem; }
.ph { width: 52px; height: 52px; border-radius: 3px; overflow: hidden; background: var(--paper); flex: none; }
.ph.old { filter: sepia(.6); }
.pair .lab { font-weight: 700; line-height: 1.35; }
.pair .lab small { display: block; font-weight: 400; color: var(--ink-2); }
.score { font: 900 clamp(1.9rem, 4vw, 2.5rem)/1 var(--display); color: var(--deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.score small { font-size: .5em; }
.blend { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; }
.blend .face { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--paper); }
.blend p { margin: 0; line-height: 1.6; }
.blend b { display: block; font-size: 1.05rem; }
.result .msg { padding: .2rem 0 1.4rem; line-height: 1.75; }
@media (min-width: 900px) { .result .body { padding: 1.4rem 1.6rem 0; } .blend { grid-template-columns: 150px 1fr; } .blend .face { width: 150px; height: 150px; } }

/* #what: the A4 certificate as the gift */
.gift { display: grid; gap: clamp(1.6rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .gift { grid-template-columns: 1.05fr .95fr; } }
.gift h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.gift .lead { font-size: 1.12rem; }
.gift ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.gift li { display: flex; gap: .8rem; align-items: center; font-weight: 700; }
.frame { background: #2b211c; padding: clamp(12px, 2vw, 20px); border-radius: 3px; box-shadow: var(--card-shadow); max-width: 460px; width: 100%; justify-self: center; }
.cert { background: #fffdf9; outline: 3px solid var(--accent); outline-offset: -12px; padding: clamp(1.1rem, 3vw, 1.8rem) clamp(1rem, 3vw, 1.6rem); text-align: center; aspect-ratio: 1 / 1.414; display: flex; flex-direction: column; justify-content: space-between; }
.cert .t { font: 900 clamp(1.1rem, 2.6vw, 1.5rem)/1.2 var(--display); margin: .4rem 0 .2rem; }
.cert .names { font-weight: 700; font-size: .95rem; }
.cert .rows { display: grid; gap: .5rem; }
.cert .row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: .4rem; }
.cert .row .ph { width: 40px; height: 40px; }
.cert .row b { font: 900 1.2rem/1 var(--display); color: var(--deep); }
.cert .row span { display: block; font-size: .75rem; color: var(--ink-2); }
.result .cap { padding: .7rem 1.2rem; border-top: 1px solid var(--line-c); font-size: .88rem; color: var(--ink-2); margin: 0; max-width: none; }
.steps .sh { display: flex; align-items: center; gap: .9rem; }
.cert .face { width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: .3rem auto; background: var(--paper); }
.cert .m { font-size: .8rem; line-height: 1.6; margin: 0 auto; }
.cert .f { font-size: .78rem; color: var(--ink-2); }

/* #how: three steps side by side */
#how { background: var(--paper); }
#how h2 { max-width: 18ch; }
.steps { list-style: none; padding: 0; margin: clamp(1.5rem, 4vw, 3rem) 0 0; display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: grid; gap: .6rem; align-content: start; }
.steps h3 { font-size: 1.3rem; margin: .4rem 0 0; }
.steps p { margin: 0; }
.i-box { background: var(--accent); color: #fff; width: 3.4rem; height: 3.4rem; }
.i-box .i { width: 1.7rem; height: 1.7rem; }

/* #price, beside its questions */
.price-grid { display: grid; gap: clamp(1.6rem, 4vw, 4rem); align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: .9fr 1.1fr; } }
.plan { background: var(--accent); color: #fff; border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.2rem); }
.plan h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.plan .yen { font: 900 clamp(3rem, 7vw, 4.6rem)/1 var(--display); margin: .2rem 0 .3rem; }
.plan .yen small { font-size: 1.2rem; font-family: var(--text); font-weight: 700; }
.plan .trial { font-weight: 700; font-size: 1.2rem; margin: 0 0 1rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.plan li .i { margin-top: .12em; }
.plan .btn { width: 100%; }
#faq h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.qa { display: grid; gap: 1.3rem; margin: 1rem 0 1.4rem; }
.qa h3 { font-family: var(--text); font-size: 1.08rem; font-weight: 700; line-height: 1.45; margin: 0 0 .3rem; }
.qa p { margin: 0; }
.more { font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }

/* the band */
.band { background: var(--accent); color: #fff; text-align: left; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.band p { font: 900 clamp(1.5rem, 3.4vw, 2.6rem)/1.25 var(--display); margin: 0; max-width: 22ch; word-break: keep-all; }
.band .gift-i { display: block; width: 1.6em; height: 1.6em; margin-bottom: .3em; }

/* the footer */
.foot { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.foot .brand { display: flex; align-items: center; gap: .6rem; font: 900 1.1rem/1 var(--display); color: var(--ink); text-decoration: none; }
.foot .brand img { width: 32px; height: 32px; border-radius: 7px; }
.foot .links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.foot a { color: var(--ink-2); }
.syng-legal-links a { color: var(--ink-2); }

/* the questions page */
.page-head { padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 4rem); margin: 0 0 .6rem; }
.page-head p { font-weight: 700; font-size: 1.2rem; margin: 0; }
.long { display: grid; gap: clamp(2rem, 5vw, 3.4rem); }
.long section { padding: 0; }
.long h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.long .qa { max-width: 70ch; }
.cols { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } }
.src { font-size: .9rem; }

/* accounts */
.auth { padding: clamp(2rem, 6vw, 4rem) 0 5rem; }
.auth h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.auth form { margin-top: 1.4rem; }
.auth .btn { width: 100%; }
.auth .alt { margin-top: 1.4rem; }
.msgbox { padding: .8rem 1rem; border-radius: var(--r); background: var(--tint); margin: 1rem 0; }
.msgbox.bad { background: #fbe9e7; color: var(--bad); font-weight: 600; }
.msgbox.good { background: #e7f4ec; color: var(--good); font-weight: 600; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check input { width: 1.3rem; height: 1.3rem; min-height: 0; flex: none; margin-top: .2rem; accent-color: var(--deep); }

/* the app */
.app-head { padding: 1.2rem 0 1.4rem; }
.app-head h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 .3rem; }
.app-head p { margin: 0; font-weight: 700; font-size: 1.2rem; }
#trial-msg { font-weight: 700; font-size: 1.2rem; }
.apppage { padding: 1.6rem 0 4rem; }
.mode { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.slots { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.slots:not(.four) { max-width: 620px; }
@media (min-width: 900px) { .slots.four { grid-template-columns: repeat(4, 1fr); } }
.slot { background: var(--paper); border-radius: var(--r); padding: .8rem; display: grid; gap: .5rem; align-content: start; }
.slot h2 { font-family: var(--text); font-size: 1rem; font-weight: 700; margin: 0; }
.slot .pick { position: relative; aspect-ratio: 1; border: 2px dashed var(--sepia); border-radius: var(--r); display: grid; place-items: center; text-align: center; cursor: pointer; overflow: hidden; background: #fff; color: var(--ink-2); font-weight: 600; padding: .4rem; }
.slot .pick:hover, .slot .pick:focus-within { border-color: var(--deep); color: var(--deep); }
.slot .pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.slot .pick canvas, .slot .pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot .st { font-size: .88rem; min-height: 1.3em; }
.slot .st.bad { color: var(--bad); font-weight: 600; }
.slot .st.good { color: var(--good); font-weight: 600; }
.chooser { display: flex; flex-wrap: wrap; gap: .4rem; }
.chooser button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: #fff; }
.chooser button:hover, .chooser button:focus-visible { border-color: var(--deep); }
.chooser canvas { width: 100%; height: 100%; }
.form-grid { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; margin-top: 1.2rem; }
.form-grid .wide { grid-column: 1 / -1; }
.go { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.out { margin-top: 2rem; }
.out-grid { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 900px) { .out-grid { grid-template-columns: 1fr 1fr; } }
.big-score { font: 900 clamp(3.4rem, 11vw, 6rem)/1 var(--display); color: var(--deep); margin: .2rem 0 .4rem; font-variant-numeric: tabular-nums; }
.scores2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.scores2 .big-score { font-size: clamp(2.4rem, 7vw, 3.8rem); }
.portrait { position: relative; width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--paper); }
.portrait canvas, .portrait img { width: 100%; height: 100%; display: block; }
.portrait.blur canvas { filter: blur(14px); transform: scale(1.1); }
.portrait .veil { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; font-weight: 700; color: var(--ink); background: rgb(255 255 255 / .35); }
.cert-preview { width: 100%; max-width: 420px; border-radius: 3px; box-shadow: var(--card-shadow); }
.dl { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.upsell { background: var(--accent); color: #fff; border-radius: var(--r); padding: 1.4rem; margin-top: 1.4rem; }
.upsell h3 { color: #fff; font-size: 1.3rem; }
.upsell p { font-weight: 700; font-size: 1.2rem; }
.list { display: grid; gap: 1rem; margin-top: 1rem; }
.couple { background: var(--paper); border-radius: var(--r); padding: 1rem 1.2rem; display: grid; gap: .4rem; }
.couple h3 { font-family: var(--text); font-weight: 700; font-size: 1.1rem; margin: 0; }
.couple .nums { font-weight: 700; color: var(--deep); }
.couple p { margin: 0; }
.couple .row-acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.couple .row-acts .btn { min-height: 40px; font-size: .95rem; }
.couple img { width: 120px; height: 120px; border-radius: 50%; }
.empty { display: flex; gap: .8rem; align-items: center; color: var(--ink-2); }
.busy { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; }
.acct { display: grid; gap: 1.2rem; }
.acct .card h2 { font-size: 1.3rem; display: flex; gap: .5rem; align-items: center; }
.acct .card .btn { margin-top: .4rem; }
.danger { color: var(--bad); }
